Skip to content

Commit

Permalink
Merge pull request #11679 from MathiasReker/fix-16
Browse files Browse the repository at this point in the history
Fix issue with deleting a category with subcategories on Multistore
  • Loading branch information
Quetzacoalt91 committed Dec 14, 2018
2 parents 6fc6d2a + 2b5e020 commit e52cb35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/Category.php
Expand Up @@ -390,7 +390,7 @@ public function delete()
foreach ($allCat as $cat) {
/* @var Category $cat */
$cat->deleteLite();
if (!$this->hasMultishopEntries()) {
if (!$cat->hasMultishopEntries()) {
$cat->deleteImage();
$cat->cleanGroups();
$cat->cleanAssoProducts();
Expand Down

0 comments on commit e52cb35

Please sign in to comment.