[-] FO: Fix cache product features #PSCFV-6138
This commit is contained in:
+2
-2
@@ -3219,8 +3219,8 @@ class ProductCore extends ObjectModel
|
|||||||
{
|
{
|
||||||
if (!array_key_exists($row['id_product'].'-'.$id_lang, self::$_frontFeaturesCache))
|
if (!array_key_exists($row['id_product'].'-'.$id_lang, self::$_frontFeaturesCache))
|
||||||
self::$_frontFeaturesCache[$row['id_product'].'-'.$id_lang] = array();
|
self::$_frontFeaturesCache[$row['id_product'].'-'.$id_lang] = array();
|
||||||
if (!isset(self::$_frontFeaturesCache[$row['id_product'].'-'.$id_lang][$row['id_product']]))
|
if (!isset(self::$_frontFeaturesCache[$row['id_product'].'-'.$id_lang][$row['id_feature']]))
|
||||||
self::$_frontFeaturesCache[$row['id_product'].'-'.$id_lang][$row['id_product']] = $row;
|
self::$_frontFeaturesCache[$row['id_product'].'-'.$id_lang][$row['id_feature']] = $row;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user