mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Duh. Helps if you actually assign the array first.
This commit is contained in:
parent
447833c996
commit
c0e50be03e
|
@ -376,10 +376,10 @@ class AssetModelsController extends Controller
|
|||
*/
|
||||
public function postBulkEdit(Request $request)
|
||||
{
|
||||
if (is_array($models_raw_array)) {
|
||||
|
||||
|
||||
$models_raw_array = Input::get('ids');
|
||||
|
||||
if (is_array($models_raw_array)) {
|
||||
$models = AssetModel::whereIn('id', $models_raw_array)->get();
|
||||
$nochange = ['NC' => 'No Change'];
|
||||
$fieldset_list = $nochange + Helper::customFieldsetList();
|
||||
|
|
Loading…
Reference in a new issue