* Fix menu.

This commit is contained in:
Yagami
2021-03-31 17:01:08 +08:00
parent e9f8347506
commit eeeca403d7
4 changed files with 16 additions and 13 deletions
+3 -2
View File
@@ -1607,8 +1607,9 @@ class projectModel extends model
public function setMenu($objectID)
{
$project = $this->getByID($objectID);
$this->lang->project->menu = $this->lang->{$project->model}->menu;
$this->lang->project->menuOrder = $this->lang->{$project->model}->menuOrder;
$this->lang->project->menu = $this->lang->{$project->model}->menu;
$this->lang->project->menuOrder = $this->lang->{$project->model}->menuOrder;
$this->lang->project->dividerMenu = $this->lang->{$project->model}->dividerMenu;
$this->lang->switcherMenu = $this->getSwitcher($objectID, $this->app->rawModule, $this->app->rawMethod);
common::setMenuVars('project', $objectID);