From d583f70ac650ae1de11de505ca7828cf363706ba Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Fri, 4 May 2012 14:01:41 +0000 Subject: [PATCH] // Fix little bug git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15076 b9a71923-0436-4b27-9f14-aed3839534dd --- modules/dateofdelivery/dateofdelivery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/dateofdelivery/dateofdelivery.php b/modules/dateofdelivery/dateofdelivery.php index d0a3d7cc9..d8a3131bc 100644 --- a/modules/dateofdelivery/dateofdelivery.php +++ b/modules/dateofdelivery/dateofdelivery.php @@ -102,7 +102,7 @@ class DateOfDelivery extends Module public function hookBeforeCarrier($params) { - if (!count($params['delivery_option_list'])) + if (!isset($params['delivery_option_list']) || !count($params['delivery_option_list'])) return false; $package_list = $params['cart']->getPackageList();