[-] Core: fix cache product group reduction #PSCFV-4974
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17883 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -332,7 +332,7 @@ class CategoryCore extends ObjectModel
|
||||
CartRule::cleanProductRuleIntegrity('categories', array($cat->id));
|
||||
Category::cleanPositions($cat->id_parent);
|
||||
/* Delete Categories in GroupReduction */
|
||||
if (GroupReduction::getGroupReductionByCategoryId((int)$cat->id))
|
||||
if (GroupReduction::getGroupsReductionByCategoryId((int)$cat->id))
|
||||
GroupReduction::deleteCategory($cat->id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user