// 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:
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user