// small fix
This commit is contained in:
1 parent
aa4d6d6cc6
commit
7f9ed41f44
1 file changed
+1
-1
@@ -396,7 +396,7 @@ class AuthControllerCore extends FrontController
|
|||||||
&& !Tools::getValue('phone_mobile')
|
&& !Tools::getValue('phone_mobile')
|
||||||
&& (Configuration::get('PS_ORDER_PROCESS_TYPE') //check if is in OPC mode
|
&& (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)
|
|| (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[] = Tools::displayError('You must register at least one phone number');
|
||||||
|
|
||||||
$this->errors = array_unique(array_merge($this->errors, $customer->validateController()));
|
$this->errors = array_unique(array_merge($this->errors, $customer->validateController()));
|
||||||
|
|||||||
Reference in new issue
Block a user