[-] 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:
rGaillard
2012-10-16 17:48:30 +00:00
parent 0fd7eeaccc
commit ec82772928
3 changed files with 49 additions and 39 deletions
+1 -1
View File
@@ -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);
}
}