Update CollectionController, fixes #3946

pull/4193/head
Daniel Supernault 2 years ago
parent dda9e77024
commit abd52f4d3a
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -135,7 +135,6 @@ class CollectionController extends Controller
$collection = Collection::whereProfileId($profileId)->findOrFail($collectionId);
$count = $collection->items()->count();
CollectionService::deleteCollection($collection->id);
if($count) {
CollectionItem::whereCollectionId($collection->id)

Loading…
Cancel
Save