mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
rm dumb note
This commit is contained in:
parent
04e0a9d4a5
commit
7e4a0eedf0
|
@ -556,7 +556,7 @@ class AssetsController extends Controller
|
||||||
$model = AssetModel::find($request->input('model_id'));
|
$model = AssetModel::find($request->input('model_id'));
|
||||||
|
|
||||||
// Check that it's an object and not a collection
|
// Check that it's an object and not a collection
|
||||||
// (Sometimes people send arrays here and they shouldn't, unless it's a checkbox)
|
// (Sometimes people send arrays here and they shouldn't
|
||||||
if (($model) && ($model instanceof AssetModel) && ($model->fieldset)) {
|
if (($model) && ($model instanceof AssetModel) && ($model->fieldset)) {
|
||||||
foreach ($model->fieldset->fields as $field) {
|
foreach ($model->fieldset->fields as $field) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue