A free open source IT asset/license management system
Small nits picked to make Brady happy
snipeb1e782d2f032
diff --git a/app/Observers/AssetObserver.php b/app/Observers/AssetObserver.phpindex 96a3c0ad05..2b0955fde6 100644--- a/app/Observers/AssetObserver.php+++ b/app/Observers/AssetObserver.php@@ -43,9 +43,8 @@ class AssetObserverif (($attributes['assigned_to'] == $attributesOriginal['assigned_to'])&& ($same_checkout_counter) && ($same_checkin_counter)&& ((isset( $attributes['next_audit_date']) ? $attributes['next_audit_date'] : null) == (isset($attributesOriginal['next_audit_date']) ? $attributesOriginal['next_audit_date']: null))- && ($attributes['last_checkout'] == $attributesOriginal['last_checkout']) && ($restoring_or_deleting!=true))+ && ($attributes['last_checkout'] == $attributesOriginal['last_checkout']) && (!$restoring_or_deleting)){- \Log::debug('Log the update');$changed = [];foreach ($asset->getRawOriginal() as $key => $value) {