// Cart rule display in cart summary
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15755 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -226,7 +226,7 @@ class AdminCartRulesControllerCore extends AdminController
|
||||
}
|
||||
|
||||
/* Retrieve the cart rule product rule groups in the POST data if available, and in the database if there is none */
|
||||
public function getProductRuleGroupsDisplay($cartRule)
|
||||
public function getProductRuleGroupsDisplay($cart_rule)
|
||||
{
|
||||
$productRuleGroupsArray = array();
|
||||
if (Tools::getValue('product_restriction') && is_array($array = Tools::getValue('product_rule_group')) && count($array))
|
||||
@@ -258,7 +258,7 @@ class AdminCartRulesControllerCore extends AdminController
|
||||
else
|
||||
{
|
||||
$i = 1;
|
||||
foreach ($cartRule->getProductRuleGroups() as $productRuleGroup)
|
||||
foreach ($cart_rule->getProductRuleGroups() as $productRuleGroup)
|
||||
{
|
||||
$j = 1;
|
||||
$productRulesDisplay = array();
|
||||
|
||||
Reference in New Issue
Block a user