diff --git a/app/Models/Asset.php b/app/Models/Asset.php index 1ce38bca0139..a3e00ee9413e 100644 --- a/app/Models/Asset.php +++ b/app/Models/Asset.php @@ -220,7 +220,9 @@ public function save(array $params = []) } } - + if (!is_array($params)){ + return false; + } return parent::save($params); }