mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Use update array nomenclature
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
601ebcc1e6
commit
899890b224
|
@ -221,7 +221,7 @@ class BulkAssetsController extends Controller
|
|||
* fieldset-specific attributes.
|
||||
*/
|
||||
if ($request->filled('model_id')) {
|
||||
$asset->model_id = AssetModel::find($request->input('model_id'))->id;
|
||||
$this->update_array['model_id'] = AssetModel::find($request->input('model_id'))->id;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -241,7 +241,7 @@ class BulkAssetsController extends Controller
|
|||
($asset->assigned_to == '')
|
||||
|| ($updated_status->deployable == '1') && ($asset->assetstatus->deployable == '1')
|
||||
) {
|
||||
$asset->status_id = $updated_status->id;
|
||||
$this->update_array['status_id'] = $updated_status->id;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue