Skip to content

Commit

Permalink
Merge pull request #1010 from SlovakNationalGallery/fix-featured-coll…
Browse files Browse the repository at this point in the history
…ection-update

[collection] fix updating featured
  • Loading branch information
rastislav-chynoransky authored May 16, 2024
2 parents 012a5c0 + ea4d8f1 commit dfee235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/CollectionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public function update($id)
}
}


$collection->featured = Request::boolean('featured');
if (Gate::allows('administer')) {
$collection->frontends = Request::input('frontends');
}
Expand Down

0 comments on commit dfee235

Please sign in to comment.