Skip to content

Commit

Permalink
do not show menus that do not contain any tools
Browse files Browse the repository at this point in the history
(cherry picked from commit 7cb9743)
  • Loading branch information
razvancrainea committed Nov 7, 2024
1 parent 24e7e96 commit eb7ca74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@
$path .= '/index.php';
$single_module = true;
$onclick = "SwitchMenu('".$menuitem."');top.frames['main_body'].location.href='".$path."'";
} else if (count($menu_link_text) == 0) {
continue;
} else {
$single_module = false;
$onclick = "SwitchMenu('".$menuitem."')";
Expand Down

0 comments on commit eb7ca74

Please sign in to comment.