Small nits picked to make Brady happy

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-11-22 21:34:39 +00:00
parent 60517f811e
commit b1e782d2f0

View file

@ -43,9 +43,8 @@ class AssetObserver
if (($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) {