From fa356f6f803ae45aee36bfc9a43f5d3f87f94257 Mon Sep 17 00:00:00 2001 From: rGaillard Date: Wed, 23 Nov 2011 20:47:50 +0000 Subject: [PATCH] // Fix PHP notice --- 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'];