diff --git a/pandora_console/include/functions_menu.php b/pandora_console/include/functions_menu.php index 75f92e9e86..9e0d356b62 100644 --- a/pandora_console/include/functions_menu.php +++ b/pandora_console/include/functions_menu.php @@ -330,7 +330,7 @@ function menu_print_menu (&$menu) { $count_sub2 = 0; foreach ($sub['sub2'] as $key => $sub2) { - if (enterprise_hook ('enterprise_acl', array ($config['id_user'], $mainsec, $subsec2, false,$key)) == false) { + if (enterprise_hook ('enterprise_acl', array ($config['id_user'], $mainsec, $subsec2, false, $key)) == false) { continue; } @@ -387,17 +387,15 @@ function menu_print_menu (&$menu) { } } - - if ($menu_selected) $seleccionado = 'selected'; else $seleccionado = ''; - + //Print out the first level $output .= '