This commit is contained in:
滔哥
2017-12-12 17:42:42 +08:00
parent 926340dcd4
commit a2672a6c44
10 changed files with 21 additions and 8 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ class treeModel extends model
ksort($treeMenu);
$topMenu = @array_shift($treeMenu);
$topMenu = explode("\n", trim($topMenu));
$lastMenu[] = '/';
$lastMenu[] = in_array($type, array('bug', 'story')) ? '' : '/';
foreach($topMenu as $menu)
{
if(!strpos($menu, '|')) continue;