// Fix little bug
This commit is contained in:
1 parent
ba00e5f96b
commit
ef279f7abf
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