* adjust for bug.

This commit is contained in:
wangyidong
2019-06-17 09:46:27 +08:00
parent 811d68443c
commit f43dc5c082
6 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ class deptModel extends model
}
}
$topMenu = @array_pop($deptMenu);
$topMenu = isset($deptMenu[0]) ? $deptMenu[0] : array_pop($deptMenu);
$topMenu = explode("\n", trim($topMenu));
$lastMenu[] = '/';
foreach($topMenu as $menu)