Condition is added to keep the selection color in the main menu
This commit is contained in:
parent
9096444f8f
commit
d5ac57064b
|
@ -50,6 +50,12 @@ function menu_print_menu(&$menu)
|
|||
|
||||
$sec = (string) get_parameter('sec');
|
||||
$sec2 = (string) get_parameter('sec2');
|
||||
if ($sec2 == 'operation/agentes/ver_agente') {
|
||||
$sec2 = 'godmode/agentes/configurar_agente';
|
||||
} else {
|
||||
$sec2 = (string) get_parameter('sec2');
|
||||
}
|
||||
|
||||
$menu_selected = false;
|
||||
|
||||
$allsec2 = explode('sec2=', $_SERVER['REQUEST_URI']);
|
||||
|
|
Loading…
Reference in New Issue