// Fixed #PSFV-510

This commit is contained in:
bMancone committed 2012-02-13 14:55:43 +00:00
1 parent 6266b35cbd
commit e7d89d3ad4
1 file changed
+2 -2
@@ -265,7 +265,7 @@ class AdminCartRulesControllerCore extends AdminController
foreach ($results as $row) foreach ($results as $row)
$products[in_array($row['id'], $selected) ? 'selected' : 'unselected'][] = $row; $products[in_array($row['id'], $selected) ? 'selected' : 'unselected'][] = $row;
Context::getContext()->smarty->assign('product_rule_itemlist', $products); Context::getContext()->smarty->assign('product_rule_itemlist', $products);
$choose_content = Context::getContext()->smarty->fetch('cart_rules/product_rule_itemlist.tpl'); $choose_content = $this->createTemplate('product_rule_itemlist.tpl')->fetch();
Context::getContext()->smarty->assign('product_rule_choose_content', $choose_content); Context::getContext()->smarty->assign('product_rule_choose_content', $choose_content);
break; break;
case 'suppliers': case 'suppliers':
@@ -277,7 +277,7 @@ class AdminCartRulesControllerCore extends AdminController
foreach ($results as $row) foreach ($results as $row)
$products[in_array($row['id'], $selected) ? 'selected' : 'unselected'][] = $row; $products[in_array($row['id'], $selected) ? 'selected' : 'unselected'][] = $row;
Context::getContext()->smarty->assign('product_rule_itemlist', $products); Context::getContext()->smarty->assign('product_rule_itemlist', $products);
$choose_content = Context::getContext()->smarty->fetch('cart_rules/product_rule_itemlist.tpl'); $choose_content = $this->createTemplate('product_rule_itemlist.tpl')->fetch();
Context::getContext()->smarty->assign('product_rule_choose_content', $choose_content); Context::getContext()->smarty->assign('product_rule_choose_content', $choose_content);
break; break;
case 'categories': case 'categories':