[-] FO : #PSCFV-1463 - Fix bug on removing a product where one is a free gift

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15223 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-05-11 13:33:02 +00:00
parent 1d20c351b5
commit 0e110bca8e
+1 -1
View File
@@ -110,7 +110,7 @@ class CartControllerCore extends FrontController
$this->context->cart->update();
}
}
$removed = CartRule::autoRemoveFromCart();
$removed = CartRule::autoAddToCart();
if (count($removed) && (int)Tools::getValue('allow_refresh'))
$this->ajax_refresh = true;
}