From 76e7fc15eeab169f68d974e9b2b2a5ff73799e4c Mon Sep 17 00:00:00 2001 From: PrestaEdit Date: Mon, 26 Nov 2012 22:51:37 +0100 Subject: [PATCH] //add Cart ID into $cache_id --- classes/Cart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Cart.php b/classes/Cart.php index 6941b6471..ba95c0e10 100644 --- a/classes/Cart.php +++ b/classes/Cart.php @@ -2471,7 +2471,7 @@ class CartCore extends ObjectModel if (!Address::addressExists($address_id)) $address_id = null; - $cache_id = 'getPackageShippingCost_'.(int)$address_id.'_'.(int)$id_carrier.'_'.(int)$use_tax.'_'.(int)$default_country->id; + $cache_id = 'getPackageShippingCost_'.(int)$this->id.'_'.(int)$address_id.'_'.(int)$id_carrier.'_'.(int)$use_tax.'_'.(int)$default_country->id; if ($products) foreach ($products as $product) $cache_id .= '_'.(int)$product['id_product'].'_'.(int)$product['id_product_attribute'];