mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Fixed #4652 - asset not correctly checking out to user on creation
This commit is contained in:
parent
b383ebee48
commit
8fb991110e
|
@ -42,13 +42,7 @@ class AssetObserver
|
||||||
$logAction->log_meta = json_encode($changed);
|
$logAction->log_meta = json_encode($changed);
|
||||||
$logAction->logaction('update');
|
$logAction->logaction('update');
|
||||||
|
|
||||||
} else {
|
}
|
||||||
|
|
||||||
\Log::debug('Something else happened');
|
|
||||||
\Log::debug($asset->getOriginal()['assigned_to'].' == '.$asset->getAttributes()['assigned_to']);
|
|
||||||
\Log::debug($asset->getOriginal()['next_audit_date'].' == '.$asset->getAttributes()['next_audit_date']);
|
|
||||||
\Log::debug($asset->getOriginal()['last_checkout'].' == '.$asset->getAttributes()['last_checkout']);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue