// 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
This commit is contained in:
1 parent
c59864c663
commit
0d65f5b236
1 file changed
+2
-3
@@ -81,7 +81,6 @@ class AdminCustomersControllerCore extends AdminController
|
|||||||
'email' => array(
|
'email' => array(
|
||||||
'title' => $this->l('E-mail address'),
|
'title' => $this->l('E-mail address'),
|
||||||
'width' => 120,
|
'width' => 120,
|
||||||
'maxlength' => 19
|
|
||||||
),
|
),
|
||||||
'age' => array(
|
'age' => array(
|
||||||
'title' => $this->l('Age'),
|
'title' => $this->l('Age'),
|
||||||
@@ -634,7 +633,7 @@ class AdminCustomersControllerCore extends AdminController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
$this->_errors[] = Tools::displayError('An error occurred while loading object.').'
|
$this->_errors[] = Tools::displayError('An error occurred while loading object.').'
|
||||||
<b>'.$this->table.'</b> '.Tools::displayError('(cannot load object)');
|
<b>'.$this->table.'</b> '.Tools::displayError('(cannot load object)');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -649,7 +648,7 @@ class AdminCustomersControllerCore extends AdminController
|
|||||||
$shop = new Shop((int)$object->id_shop);
|
$shop = new Shop((int)$object->id_shop);
|
||||||
$object->id_group_shop = (int)$shop->id_group_shop;
|
$object->id_group_shop = (int)$shop->id_group_shop;
|
||||||
if (!$object->add())
|
if (!$object->add())
|
||||||
$this->_errors[] = Tools::displayError('An error occurred while creating object.').'
|
$this->_errors[] = Tools::displayError('An error occurred while creating object.').'
|
||||||
<b>'.$this->table.' ('.Db::getInstance()->getMsgError().')</b>';
|
<b>'.$this->table.' ('.Db::getInstance()->getMsgError().')</b>';
|
||||||
else if (($_POST[$this->identifier] = $object->id /* voluntary */) &&
|
else if (($_POST[$this->identifier] = $object->id /* voluntary */) &&
|
||||||
$this->postImage($object->id) && !count($this->_errors) &&
|
$this->postImage($object->id) && !count($this->_errors) &&
|
||||||
|
|||||||
Reference in new issue
Block a user