[-] FO : fixed cache management conflict for packed product #PSCFV-3294

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16801 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dMetzger
2012-08-10 14:26:15 +00:00
parent 35dcc6370c
commit d5337f4f44
3 changed files with 4 additions and 1 deletions
+2
View File
@@ -3461,6 +3461,8 @@ class ProductCore extends ObjectModel
$usetax = Tax::excludeTaxeOption();
$cache_key = $row['id_product'].'-'.$row['id_product_attribute'].'-'.$id_lang.'-'.(int)$usetax;
if (isset($row['id_product_pack']))
$cache_key .= '-pack'.$row['id_product_pack'];
if (isset(self::$producPropertiesCache[$cache_key]))
return self::$producPropertiesCache[$cache_key];