From 75a19e7e26f19ac0c0fbeaf1f7adfb8c3f8d5586 Mon Sep 17 00:00:00 2001 From: lLefevre Date: Fri, 13 Jul 2012 14:45:36 +0000 Subject: [PATCH] [-] BO : fix #PSCFV-3198 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16418 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/Product.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/classes/Product.php b/classes/Product.php index 82b3f86a3..2e6ceb7f3 100644 --- a/classes/Product.php +++ b/classes/Product.php @@ -2466,6 +2466,9 @@ class ProductCore extends ObjectModel } } + if (!isset(self::$_pricesLevel2[$cache_id_2][(int)$id_product_attribute])) + return; + $result = self::$_pricesLevel2[$cache_id_2][(int)$id_product_attribute]; if (!$specific_price || $specific_price['price'] < 0)