[-] Core: fix cache product group reduction #PSCFV-4974

This commit is contained in:
rGaillard
2012-10-16 17:48:30 +00:00
parent 6feea50766
commit bc3aa99169
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);
}
}