PHOENIX-MEDIA / Magento-CashOnDelivery

Cash on Delivery allows to book additional fee on delivery depending on inland or international delivery.
43 stars 46 forks source link

Prevent empty needle CashOnDelivery.php on line 185 #29

Open BrocksiNet opened 9 years ago

BrocksiNet commented 9 years ago

This is spaming our log

2015-11-18T07:32:00+00:00 ERR (3): Warning: strpos(): Empty needle 
in /var/www/live/app/code/community/Phoenix/CashOnDelivery/Model/CashOnDelivery.php on line 185

Thx for this small fix in the future.

PHOENIX-MEDIA commented 6 years ago

Can it be that you have an empty shipping method code somewhere?