[-] FO : uncombinable cart rules are not combinable anymore

This commit is contained in:
dMetzger
2012-01-26 15:17:23 +00:00
parent 1f891bde04
commit 153cb616bc
4 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -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;