[-] FO : fixed bug #PSCFV-4112

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17467 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vAugagneur
2012-09-21 14:10:37 +00:00
parent dcf067d890
commit a48e8cf111
+1 -1
View File
@@ -444,7 +444,7 @@ class OrderOpcControllerCore extends ParentOrderController
else
return '<p class="warning">'.Tools::displayError('Error: There are no carriers available that deliver to this address').'</p>';
}
if (!$this->context->cart->getDeliveryOption(null, true) && !$this->context->cart->isVirtualCart())
if (!$this->context->cart->getDeliveryOption(null, false) && !$this->context->cart->isVirtualCart())
return '<p class="warning">'.Tools::displayError('Error: please choose a carrier').'</p>';
if (!$this->context->cart->id_currency)
return '<p class="warning">'.Tools::displayError('Error: no currency has been selected').'</p>';