From 0d1893c53cf1597c86a6f808d0e75a9491efb46c Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Mon, 15 Oct 2012 07:21:01 +0000 Subject: [PATCH] //small fix when enter number in name when install prestashop git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17855 b9a71923-0436-4b27-9f14-aed3839534dd --- install-dev/controllers/http/configure.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-dev/controllers/http/configure.php b/install-dev/controllers/http/configure.php index a562d3da0..ff7160ca6 100644 --- a/install-dev/controllers/http/configure.php +++ b/install-dev/controllers/http/configure.php @@ -75,10 +75,10 @@ class InstallControllerHttpConfigure extends InstallControllerHttp $this->errors['shop_name'] = $this->l('Invalid shop name'); // Check admin name - if ($this->session->admin_firstname && !Validate::isGenericName($this->session->admin_firstname)) + if ($this->session->admin_firstname && !Validate::isName($this->session->admin_firstname)) $this->errors['admin_firstname'] = $this->l('Your firstname contains some invalid characters'); - if ($this->session->admin_lastname && !Validate::isGenericName($this->session->admin_lastname)) + if ($this->session->admin_lastname && !Validate::isName($this->session->admin_lastname)) $this->errors['admin_lastname'] = $this->l('Your lastname contains some invalid characters'); // Check passwords