[-] FO : GuestAccount required phone

This commit is contained in:
gRoussac
2013-03-21 16:37:41 +01:00
parent e6172fb6e9
commit c7687d2eff

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'))