[-] 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))
|
||||
self::$_frontFeaturesCache[$row['id_product'].'-'.$id_lang] = array();
|
||||
if (!isset(self::$_frontFeaturesCache[$row['id_product'].'-'.$id_lang][$row['id_product']]))
|
||||
self::$_frontFeaturesCache[$row['id_product'].'-'.$id_lang][$row['id_product']] = $row;
|
||||
if (!isset(self::$_frontFeaturesCache[$row['id_product'].'-'.$id_lang][$row['id_feature']]))
|
||||
self::$_frontFeaturesCache[$row['id_product'].'-'.$id_lang][$row['id_feature']] = $row;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user