[-] FO : #PSCFI-5795 : fixed a bug where the opc freeze when an Order is to 0

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16002 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
aNiassy
2012-06-13 08:12:16 +00:00
parent 19d6ec53e4
commit 7447131226
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -428,7 +428,6 @@ class OrderOpcControllerCore extends ParentOrderController
return '<p class="warning">'.Tools::displayError('Error: no currency has been selected').'</p>';
if (!$this->context->cookie->checkedTOS && Configuration::get('PS_CONDITIONS'))
return '<p class="warning">'.Tools::displayError('Please accept the Terms of Service').'</p>';
/* If some products have disappear */
if (!$this->context->cart->checkQuantities())
return '<p class="warning">'.Tools::displayError('An item in your cart is no longer available, you cannot proceed with your order.').'</p>';