* Fix bug#21385.

This commit is contained in:
xieqiyu
2022-04-01 14:24:05 +08:00
parent 8e826135a6
commit c5eb774fdd
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ class treeModel extends model
ksort($treeMenu);
$topMenu = @array_shift($treeMenu);
$topMenu = explode("\n", trim($topMenu));
$topMenu = explode("\n", trim((string)$topMenu));
$lastMenu[] = '/';
foreach($topMenu as $menu)
{