// Fix little bug
This commit is contained in:
1 parent
4b06e3dd31
commit
0323ed6866
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