[-] Mobile : Bug fix : Authentication & phone number

This commit is contained in:
Staging committed 2013-07-01 11:08:14 +02:00
1 parent 1657db9743
commit 68cb702350
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -399,7 +399,7 @@ class AuthControllerCore extends FrontController
if (!Tools::getValue('phone') && !Tools::getValue('phone_mobile')) if (!Tools::getValue('phone') && !Tools::getValue('phone_mobile'))
$error_phone = true; $error_phone = true;
} }
elseif (((Configuration::get('PS_REGISTRATION_PROCESS_TYPE') || Configuration::get('PS_ORDER_PROCESS_TYPE')) elseif (((Configuration::get('PS_REGISTRATION_PROCESS_TYPE') && Configuration::get('PS_ORDER_PROCESS_TYPE'))
|| (Configuration::get('PS_ORDER_PROCESS_TYPE') && !Tools::getValue('email_create'))) || (Configuration::get('PS_ORDER_PROCESS_TYPE') && !Tools::getValue('email_create')))
&& (!Tools::getValue('phone') && !Tools::getValue('phone_mobile'))) && (!Tools::getValue('phone') && !Tools::getValue('phone_mobile')))
$error_phone = true; $error_phone = true;
@@ -1,4 +1,4 @@
<form action="{$link->getPageLink('authentication', true)|escape:'html'}" method="post" id="account-creation_form" class="std"> <form action="{$link->getPageLink('authentication', true)|escape:'html'}" method="post" id="account-creation_form" class="std" data-ajax="false">
{$HOOK_CREATE_ACCOUNT_TOP} {$HOOK_CREATE_ACCOUNT_TOP}
<fieldset class="account_creation"> <fieldset class="account_creation">
<h3>{l s='Your personal information'}</h3> <h3>{l s='Your personal information'}</h3>