* Merge 18.x #b266a62e3a07911fa5aa7caf3c86f34b16f749a1 *Fix bug #111755.

This commit is contained in:
tanghucheng
2024-03-08 13:43:58 +08:00
parent f647239a70
commit 3c445afd04
+1 -1
View File
@@ -220,7 +220,7 @@ class commonTao extends commonModel
$menu = isset($lang->navGroup->$module) ? $lang->navGroup->$module : $module;
if($module == 'my' and $method == 'team') $menu = 'system'; // Fix bug #18642.
$menu = strtolower($menu);
if($menu != 'qa' and !isset($lang->$menu->menu)) return true;
if($menu != 'qa' and $menu != 'project' and !isset($lang->$menu->menu)) return true;
if(($menu == 'my' and $method != 'team') or $menu == 'index' or $module == 'tree') return true;
if($module == 'company' and $method == 'dynamic') return true;
if($module == 'action' and $method == 'editcomment') return true;