wip
This commit is contained in:
parent
1d2596fc54
commit
5e34ffa2b0
1 changed files with 17 additions and 16 deletions
|
@ -225,9 +225,10 @@ class BulkAssetsController extends Controller
|
||||||
} else {
|
} else {
|
||||||
$array = $this->update_array;
|
$array = $this->update_array;
|
||||||
array_except($array, $field->db_column);
|
array_except($array, $field->db_column);
|
||||||
$asset->update($array);
|
// $asset->update($array);
|
||||||
|
$asset->save($array);
|
||||||
//call update on parent model
|
//call update on parent model
|
||||||
$asset->save();
|
// $asset->save();
|
||||||
}
|
}
|
||||||
if (!$asset->save()) {
|
if (!$asset->save()) {
|
||||||
$error_bag[] = $asset->getErrors();
|
$error_bag[] = $asset->getErrors();
|
||||||
|
|
Loading…
Add table
Reference in a new issue