// Optimization on Product cache

This commit is contained in:
rMalie
2012-02-14 09:39:18 +00:00
parent 6ee585c35a
commit 1bdfebf11e
+1 -1
View File
@@ -2366,7 +2366,7 @@ class ProductCore extends ObjectModel
return self::$_prices[$cache_id];
// fetch price & attribute price
$cache_id_2 = $id_product.'-'.$id_product_attribute;
$cache_id_2 = $id_product.'-'.(int)$id_product_attribute;
if (!isset(self::$_pricesLevel2[$cache_id_2]))
{
$sql = new DbQuery();