// Fix little bug
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15076 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
642a8c1436
commit
d583f70ac6
1 file changed
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user