1
0
Fork 0

Update CollectionController, fixes #3946

This commit is contained in:
Daniel Supernault 2023-02-16 22:51:48 -07:00
parent dda9e77024
commit abd52f4d3a
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 0 additions and 1 deletions

View File

@ -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)