* fix a bug for get db lang.

This commit is contained in:
wyd621
2013-08-08 08:12:25 +08:00
parent 0591161c02
commit 8b5d33ef61

View File

@@ -56,7 +56,7 @@ class custom extends control
$this->view->position[] = $this->lang->custom->common;
$this->view->position[] = $this->lang->custom->$module;
$this->view->fieldList = $fieldList;
$this->view->dbFields = $this->custom->getItems("module=$module&section=$field");
$this->view->dbFields = $this->custom->getItems("lang=$currentLang,all&module=$module&section=$field");
$this->view->field = $field;
$this->view->module = $module;
$this->view->currentLang = $currentLang;