Merge branch 'master_xieqiyu_21385' into 'master'

* Fix bug#21385.

See merge request easycorp/zentaopms!2885
This commit is contained in:
孙广明
2022-04-12 08:32:47 +00:00
+1 -1
View File
@@ -320,7 +320,7 @@ class treeModel extends model
ksort($treeMenu);
$topMenu = @array_shift($treeMenu);
$topMenu = explode("\n", trim($topMenu));
$topMenu = explode("\n", trim((string)$topMenu));
foreach($topMenu as $menu)
{
if(!strpos($menu, '|')) continue;