// small fix

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17611 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rGaillard
2012-09-28 13:39:48 +00:00
parent 611f01f340
commit 6e0a43f08e
+1 -1
View File
@@ -396,7 +396,7 @@ class AuthControllerCore extends FrontController
&& !Tools::getValue('phone_mobile')
&& (Configuration::get('PS_ORDER_PROCESS_TYPE') //check if is in OPC mode
|| (Configuration::get('PS_REGISTRATION_PROCESS_TYPE') && !Configuration::get('PS_ORDER_PROCESS_TYPE')) //check if is simple registration mode and not in OPC mode)
)
))
$this->errors[] = Tools::displayError('You must register at least one phone number');
$this->errors = array_unique(array_merge($this->errors, $customer->validateController()));