From 593671d15fd74e15e10f1c940f278aaefe716714 Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Wed, 17 Oct 2012 10:13:52 +0000 Subject: [PATCH] //small fix --- controllers/front/AuthController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/front/AuthController.php b/controllers/front/AuthController.php index 1b8e186ce..d58c8fe54 100644 --- a/controllers/front/AuthController.php +++ b/controllers/front/AuthController.php @@ -392,7 +392,7 @@ class AuthControllerCore extends FrontController $_POST['lastname'] = Tools::getValue('customer_lastname'); $_POST['firstname'] = Tools::getValue('customer_firstname'); - if (Configuration::get('PS_ONE_PHONE_AT_LEAST') && !Tools::getValue('phone') && !Tools::getValue('phone_mobile') && !Configuration::get('PS_ORDER_PROCESS_TYPE')) + if (Configuration::get('PS_ONE_PHONE_AT_LEAST') && !Tools::getValue('phone') && !Tools::getValue('phone_mobile') && !Configuration::get('PS_REGISTRATION_PROCESS_TYPE')) $this->errors[] = Tools::displayError('You must register at least one phone number'); $this->errors = array_unique(array_merge($this->errors, $customer->validateController()));