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
  • Loading branch information
razvancrainea committed Nov 7, 2024
1 parent 581f7da commit 7cb9743
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 7cb9743

Please sign in to comment.