From a7365de9a8dfe0419266f33c4c435fc7de810c5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gaillard?= Date: Tue, 5 Mar 2013 13:27:09 +0100 Subject: [PATCH] [-] Core: Fix #PSCFV-8130 getTaxesAverageUsed() for delivery address used --- classes/Cart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Cart.php b/classes/Cart.php index 93df46400..8fd74d1f2 100644 --- a/classes/Cart.php +++ b/classes/Cart.php @@ -292,7 +292,7 @@ class CartCore extends ObjectModel if (Configuration::get('PS_TAX_ADDRESS_TYPE') == 'id_address_invoice') $address_id = (int)$cart->id_address_invoice; else - $address_id = (int)$product->id_address_delivery; // Get delivery address of the product from the cart + $address_id = (int)$product['id_address_delivery']; // Get delivery address of the product from the cart if (!Address::addressExists($address_id)) $address_id = null;