mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
wip
This commit is contained in:
parent
1d2596fc54
commit
5e34ffa2b0
|
@ -225,9 +225,10 @@ class BulkAssetsController extends Controller
|
|||
} else {
|
||||
$array = $this->update_array;
|
||||
array_except($array, $field->db_column);
|
||||
$asset->update($array);
|
||||
// $asset->update($array);
|
||||
$asset->save($array);
|
||||
//call update on parent model
|
||||
$asset->save();
|
||||
// $asset->save();
|
||||
}
|
||||
if (!$asset->save()) {
|
||||
$error_bag[] = $asset->getErrors();
|
||||
|
|
Loading…
Reference in a new issue