[-] FO : fixed bug #PSCFV-4112

This commit is contained in:
vAugagneur committed 2012-09-21 14:10:37 +00:00
1 parent b848550d71
commit 9f2354be23
1 file changed
+1 -1
+1 -1
View File
@@ -444,7 +444,7 @@ class OrderOpcControllerCore extends ParentOrderController
else else
return '<p class="warning">'.Tools::displayError('Error: There are no carriers available that deliver to this address').'</p>'; 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>'; return '<p class="warning">'.Tools::displayError('Error: please choose a carrier').'</p>';
if (!$this->context->cart->id_currency) if (!$this->context->cart->id_currency)
return '<p class="warning">'.Tools::displayError('Error: no currency has been selected').'</p>'; return '<p class="warning">'.Tools::displayError('Error: no currency has been selected').'</p>';