[-] FO : GuestAccount required phone

This commit is contained in:
gRoussac
2013-03-21 16:37:41 +01:00
parent d16de2f774
commit 434426c21b
+1 -1
View File
@@ -387,7 +387,7 @@ class AuthControllerCore extends FrontController
{
if (Tools::isSubmit('submitGuestAccount') || !Tools::getValue('is_new_customer'))
{
if (!Tools::getValue('phone'))
if (!Tools::getValue('phone') && !Tools::getValue('phone_mobile'))
$error_phone = true;
}
elseif (((Configuration::get('PS_REGISTRATION_PROCESS_TYPE') || Configuration::get('PS_ORDER_PROCESS_TYPE'))