Commit 58b0065f authored by Jerome Nadaud's avatar Jerome Nadaud

// Fix missing parameters in Cart ObjectModel

parent 1ac5cfd2
......@@ -189,7 +189,7 @@ class CartCore extends ObjectModel
if (!$this->id_shop)
$this->id_shop = Context::getContext()->shop->id;
$return = parent::add($autodate);
$return = parent::add($autodate, $null_values);
Hook::exec('actionCartSave');
return $return;
......@@ -204,7 +204,7 @@ class CartCore extends ObjectModel
unset(self::$_totalWeight[$this->id]);
$this->_products = null;
$return = parent::update();
$return = parent::update($null_values);
Hook::exec('actionCartSave');
return $return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment