* Fix bug for task #55254.

This commit is contained in:
liumengyi
2022-05-24 16:04:10 +08:00
parent 816999dbeb
commit 39a163e0a8
+1 -1
View File
@@ -983,7 +983,7 @@ class commonModel extends model
}
/* Check whether other methods under the module have permissions. If yes, point to other methods. */
if($display == false and isset($lang->$currentModule->menu))
if($display == false and isset($lang->$currentModule->menu) and !in_array($currentModule, array('program', 'product', 'project', 'execution')))
{
foreach($lang->$currentModule->menu as $menu)
{