@@ -14,7 +14,7 @@ trait MayContainCustomFields
|
||||
|
||||
// For auditing and some other non-standard things where $this is only the form submission and may not have the asset info
|
||||
// In case the model is being changed
|
||||
if (request()->input('model_id')->model_id!='') {
|
||||
if (request()->input('model_id')!='') {
|
||||
|
||||
$asset_model = AssetModel::find(request()->route('asset')->model_id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user