Only add an update log message if the asset isn’t being checked in or out
This commit is contained in:
@@ -587,9 +587,9 @@ class AssetsController extends Controller
|
||||
$settings = Setting::getSettings();
|
||||
$this->authorize('view', $asset);
|
||||
|
||||
if (isset($asset->id)) {
|
||||
if (isset($asset)) {
|
||||
|
||||
if ($asset->assetloc) {
|
||||
if (!is_null($asset->assetloc)) {
|
||||
$use_currency = $asset->assetloc->currency;
|
||||
} else {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user