From 8b8451831e554caaa058f770deddd71d69793c48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gaillard?= Date: Thu, 24 Jan 2013 18:45:55 +0100 Subject: [PATCH] [-] Core: Fix #PSCFV-7484 cache in Product::priceCalculation --- classes/Product.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/Product.php b/classes/Product.php index 31b781f9f..1a4974389 100644 --- a/classes/Product.php +++ b/classes/Product.php @@ -2556,8 +2556,8 @@ class ProductCore extends ObjectModel $cache_id = $id_product.'-'.$id_shop.'-'.$id_currency.'-'.$id_country.'-'.$id_state.'-'.$zipcode.'-'.$id_group. '-'.$quantity.'-'.$id_product_attribute.'-'.($use_tax?'1':'0').'-'.$decimals.'-'.($only_reduc?'1':'0'). - '-'.($use_reduc?'1':'0').'-'.$with_ecotax.'-'.$id_customer; - + '-'.($use_reduc?'1':'0').'-'.$with_ecotax.'-'.$id_customer.'-'.(int)$use_group_reduction.'-'.(int)$id_cart.'-'.(int)$real_quantity; + // reference parameter is filled before any returns $specific_price = SpecificPrice::getSpecificPrice( (int)$id_product,