[-] FO : uncombinable cart rules are not combinable anymore
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12721 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+1
-1
@@ -693,7 +693,7 @@ class CartCore extends ObjectModel
|
||||
public function addCartRule($id_cart_rule)
|
||||
{
|
||||
// You can't add a cart rule that does not exist
|
||||
$cartRule = new CartRule($id_cart_rule, Context::getContext()->lang->id);
|
||||
$cartRule = new CartRule($id_cart_rule, Context::getContext()->language->id);
|
||||
if (!Validate::isLoadedObject($cartRule))
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user