Skip to content

Commit

Permalink
rm dumb note
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerrlongg committed Mar 25, 2024
1 parent 04e0a9d commit 7e4a0ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Api/AssetsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ public function store(StoreAssetRequest $request): JsonResponse
$model = AssetModel::find($request->input('model_id'));

// 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)) {
foreach ($model->fieldset->fields as $field) {

Expand Down

0 comments on commit 7e4a0ee

Please sign in to comment.