From 81572ab1ee9530fa2a8e0ebb41bc976e8ee8e165 Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Wed, 27 Sep 2023 15:21:53 +0800 Subject: [PATCH] * Fix bug #38996. --- module/project/control.php | 2 +- module/project/view/managepriv.html.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/project/control.php b/module/project/control.php index 2483a790d3..a342ad09e4 100755 --- a/module/project/control.php +++ b/module/project/control.php @@ -1543,7 +1543,7 @@ class project extends control $this->view->type = $type; foreach($this->lang->resource as $moduleName => $action) { - if($this->group->checkMenuModule($menu, $moduleName) or $type != 'byGroup') $this->app->loadLang($moduleName); + if($this->group->checkNavModule($menu, $moduleName) or $type != 'byGroup') $this->app->loadLang($moduleName); } if(!empty($_POST)) diff --git a/module/project/view/managepriv.html.php b/module/project/view/managepriv.html.php index 1d054ba580..07a2de00eb 100644 --- a/module/project/view/managepriv.html.php +++ b/module/project/view/managepriv.html.php @@ -47,7 +47,7 @@ td.menus + td {border-left: 0;} resource as $moduleName => $moduleActions):?> - group->checkMenuModule($menu, $moduleName)) continue;?> + group->checkNavModule($menu, $moduleName)) continue;?>