diff --git a/web/menu.php b/web/menu.php index 823c0143..b44de7f9 100644 --- a/web/menu.php +++ b/web/menu.php @@ -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."')";