* [bug#63813,done,1h] hide more menu when list is empty.

This commit is contained in:
hujunqing
2025-07-09 07:35:08 +00:00
parent 1d82797909
commit 9e046fadc7
+6 -4
View File
@@ -313,10 +313,12 @@ class docApp extends wg
$zentaoListMenu = $hasZentaoSlashMenu ? $this->getZentaoListMenu() : array();
$moreMenus = array_merge([array(
'text' => $lang->doc->zentaoData,
'type' => 'heading',
)], $this->convertZentaoListMenu($zentaoListMenu));
$moreMenus = $zentaoListMenu
? array_merge([array(
'text' => $lang->doc->zentaoData,
'type' => 'heading',
)], $this->convertZentaoListMenu($zentaoListMenu))
: array();
return zui::docApp
(