// Normalization

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16473 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-07-18 14:27:55 +00:00
parent 4ec108f632
commit 0c0fa767b5
+4 -4
View File
@@ -29,9 +29,9 @@ class AdminStatesControllerCore extends AdminController
{
public function __construct()
{
$this->table = 'state';
$this->table = 'state';
$this->className = 'State';
$this->lang = false;
$this->lang = false;
$this->requiredDatabase = true;
$this->addRowAction('edit');
@@ -86,10 +86,10 @@ class AdminStatesControllerCore extends AdminController
public function renderList()
{
$this->_select = 'z.`name` AS zone';
$this->_join = 'LEFT JOIN `'._DB_PREFIX_.'zone` z ON (z.`id_zone` = a.`id_zone`)';
$this->_join = 'LEFT JOIN `'._DB_PREFIX_.'zone` z ON (z.`id_zone` = a.`id_zone`)';
$this->tpl_list_vars['zones'] = Zone::getZones();
return parent::renderList();
return parent::renderList();
}
public function renderForm()