From 0d65f5b236559ddaf30a942bb8caf07fd49121cf Mon Sep 17 00:00:00 2001 From: tDidierjean Date: Thu, 27 Oct 2011 10:04:56 +0000 Subject: [PATCH] // fix email field in list display in AdminCustomers git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9670 b9a71923-0436-4b27-9f14-aed3839534dd --- controllers/admin/AdminCustomersController.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/controllers/admin/AdminCustomersController.php b/controllers/admin/AdminCustomersController.php index 82d7aee86..8b9272387 100644 --- a/controllers/admin/AdminCustomersController.php +++ b/controllers/admin/AdminCustomersController.php @@ -81,7 +81,6 @@ class AdminCustomersControllerCore extends AdminController 'email' => array( 'title' => $this->l('E-mail address'), 'width' => 120, - 'maxlength' => 19 ), 'age' => array( 'title' => $this->l('Age'), @@ -634,7 +633,7 @@ class AdminCustomersControllerCore extends AdminController } } else - $this->_errors[] = Tools::displayError('An error occurred while loading object.').' + $this->_errors[] = Tools::displayError('An error occurred while loading object.').' '.$this->table.' '.Tools::displayError('(cannot load object)'); } } @@ -649,7 +648,7 @@ class AdminCustomersControllerCore extends AdminController $shop = new Shop((int)$object->id_shop); $object->id_group_shop = (int)$shop->id_group_shop; if (!$object->add()) - $this->_errors[] = Tools::displayError('An error occurred while creating object.').' + $this->_errors[] = Tools::displayError('An error occurred while creating object.').' '.$this->table.' ('.Db::getInstance()->getMsgError().')'; else if (($_POST[$this->identifier] = $object->id /* voluntary */) && $this->postImage($object->id) && !count($this->_errors) &&