// BO : cart rules form improved

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10294 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dMetzger
2011-11-20 16:18:04 +00:00
parent 14cb2b1ef0
commit 8fdcb10f78
4 changed files with 11 additions and 5 deletions
@@ -51,7 +51,7 @@ class AdminCartRulesControllerCore extends AdminController
public function postProcess()
{
if (Tools::isSubmit('submitAddcart_rule'))
if (Tools::isSubmit('submitAddcart_rule') || Tools::isSubmit('submitAddcart_ruleAndStay'))
{
// These are checkboxes (which aren't sent through POST when they are not check), so they are forced to 0
foreach (array('country', 'carrier', 'group', 'cart_rule', 'product') as $type)