// 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:
@@ -102,7 +102,7 @@ class DateOfDelivery extends Module
|
|||||||
|
|
||||||
public function hookBeforeCarrier($params)
|
public function hookBeforeCarrier($params)
|
||||||
{
|
{
|
||||||
if (!count($params['delivery_option_list']))
|
if (!isset($params['delivery_option_list']) || !count($params['delivery_option_list']))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
$package_list = $params['cart']->getPackageList();
|
$package_list = $params['cart']->getPackageList();
|
||||||
|
|||||||
Reference in New Issue
Block a user