From f3361fbedf78737f31224a616bcf0ff3ac78c946 Mon Sep 17 00:00:00 2001 From: Davy Rolink Date: Mon, 5 Aug 2013 22:31:42 +0200 Subject: [PATCH] Bug fix: id_address_invoice was not updated, updateAddressId method of the Cart class --- classes/Cart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Cart.php b/classes/Cart.php index 3e48b7040..e57509cc3 100644 --- a/classes/Cart.php +++ b/classes/Cart.php @@ -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) {