From 0b3c094698481f1db6009a5a120bc8af490e15ef Mon Sep 17 00:00:00 2001 From: rGaillard Date: Wed, 23 Nov 2011 20:47:50 +0000 Subject: [PATCH] // Fix PHP notice git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10600 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/Cart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Cart.php b/classes/Cart.php index 05438f321..e7a72175c 100644 --- a/classes/Cart.php +++ b/classes/Cart.php @@ -1579,7 +1579,7 @@ class CartCore extends ObjectModel $delivery_option_list = $this->getDeliveryOptionList(); foreach ($delivery_option as $id_address => $key) { - if (!isset($delivery_option_list[$id_address])) + if (!isset($delivery_option_list[$id_address]) || !isset($delivery_option_list[$id_address][$key])) continue; if ($useTax) $total_shipping += $delivery_option_list[$id_address][$key]['total_price_with_tax'];