// Optimization on Product cache

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13283 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-02-14 09:39:18 +00:00
parent b6b7800c2b
commit bc016fc498
+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();