Bug fix: id_address_invoice was not updated, updateAddressId method of the Cart class

This commit is contained in:
Davy Rolink
2013-08-05 22:53:54 +02:00
parent 8be06bba2d
commit f3361fbedf
+1 -1
View File
@@ -210,7 +210,7 @@ class CartCore extends ObjectModel
if (!isset($this->id_address_invoice) || $this->id_address_invoice == $id_address)
{
$to_update = true;
$this->context->cart->id_address_invoice = $id_address_new;
$this->id_address_invoice = $id_address_new;
}
if (!isset($this->id_address_delivery) || $this->id_address_delivery == $id_address)
{