Merge branch 'master' of github.com:easysoft/zentaopms

This commit is contained in:
wangyidong
2019-04-01 13:59:34 +08:00
3 changed files with 20 additions and 4 deletions
+2 -1
View File
@@ -126,10 +126,11 @@ class projectModel extends model
{
foreach($subMenu as $menuKey => $menu)
{
$itemMenu = zget($projectSubMenu, $menuKey, '');
if($moduleName == strtolower($menu->link['module']) and
(
$methodName == strtolower($menu->link['method']) or
(isset($projectSubMenu->$menuKey['alias']) and strpos($projectSubMenu->$menuKey['alias'], $methodName) !== false)
(is_array($itemMenu) and isset($itemMenu['alias']) and strpos($itemMenu['alias'], $methodName) !== false)
)
)
{