From ed2fc9a27bdea40d5f7f608274e00ff6980d1672 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gaillard?= Date: Mon, 4 Mar 2013 10:31:15 +0100 Subject: [PATCH] [-] Core: id_customer was missing in the SpecificPrice::getSpecificPrice() cache key #PSCFV-8086 --- classes/SpecificPrice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/SpecificPrice.php b/classes/SpecificPrice.php index cada92a5d..f47f1a5c4 100644 --- a/classes/SpecificPrice.php +++ b/classes/SpecificPrice.php @@ -207,7 +207,7 @@ class SpecificPriceCore extends ObjectModel ** The price must not change between the top and the bottom of the page */ - $key = ((int)$id_product.'-'.(int)$id_shop.'-'.(int)$id_currency.'-'.(int)$id_country.'-'.(int)$id_group.'-'.(int)$quantity.'-'.(int)$id_product_attribute.'-'.(int)$id_cart.'-'.(int)$real_quantity); + $key = ((int)$id_product.'-'.(int)$id_shop.'-'.(int)$id_currency.'-'.(int)$id_country.'-'.(int)$id_group.'-'.(int)$quantity.'-'.(int)$id_product_attribute.'-'.(int)$id_cart.'-'.(int)$id_customer.'-'.(int)$real_quantity); if (!array_key_exists($key, self::$_specificPriceCache)) { $now = date('Y-m-d H:i:s');