*An error has been reported on other pages.
This commit is contained in:
@@ -1644,6 +1644,7 @@ class treeModel extends model
|
||||
$data->short = $short;
|
||||
$data->order = $order;
|
||||
|
||||
$this->setModuleLang();
|
||||
$this->dao->update(TABLE_MODULE)->data($data)->autoCheck()->where('id')->eq($moduleID)->limit(1)->exec();
|
||||
}
|
||||
}
|
||||
@@ -2040,4 +2041,17 @@ class treeModel extends model
|
||||
|
||||
return $tree;
|
||||
}
|
||||
|
||||
/**
|
||||
* Load module language.
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function setModuleLang()
|
||||
{
|
||||
$this->lang->module = new stdclass();
|
||||
$this->lang->module->name = $this->lang->tree->wordName;
|
||||
$this->lang->module->short = $this->lang->tree->short;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user