[-] FO : wrong cache ID fixed #PSCFV-5537

This commit is contained in:
dMetzger
2012-11-13 15:52:31 +00:00
parent 1ed8a01f5f
commit 8aaeb3a66d
+2 -2
View File
@@ -734,9 +734,9 @@ class CartRuleCore extends ObjectModel
$reduction_value = 0;
$cache_id = 'getContextualValue_'.(int)$use_tax.'_'.(int)$context->cart->id.'_'.(int)$filter;
$cache_id = 'getContextualValue_'.(int)$this->id.'_'.(int)$use_tax.'_'.(int)$context->cart->id.'_'.(int)$filter;
foreach ($package_products as $product)
$cache_id .= (int)$product['id_product'].'_'.(int)$product['id_product_attribute'];
$cache_id .= '_'.(int)$product['id_product'].'_'.(int)$product['id_product_attribute'];
if (Cache::isStored($cache_id))
return Cache::retrieve($cache_id);