diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 733f168c81..9192e97197 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2011-11-24 Juan Manuel Ramon + + * operation/menu.php: Fixed a wrong sec2 tag that makes enterprise + ACLs fail. + + Fixes: #3439464 + 2011-11-24 Juan Manuel Ramon * operation/agentes/networkmap.php diff --git a/pandora_console/operation/menu.php b/pandora_console/operation/menu.php index 65ae6db508..db4cb82a49 100644 --- a/pandora_console/operation/menu.php +++ b/pandora_console/operation/menu.php @@ -176,13 +176,14 @@ enterprise_hook ('inventory_menu'); //Incidents if (check_acl ($config['id_user'], 0, "IR") == 1) { + $temp_sec2 = $sec2; if($config['integria_enabled']) { $sec2 = "operation/integria_incidents/incident"; } else { $sec2 = "operation/incidents/incident"; } - + $menu["incidencias"]["text"] = __('Manage incidents'); $menu["incidencias"]["sec2"] = $sec2; $menu["incidencias"]["refr"] = 0; @@ -192,6 +193,7 @@ if (check_acl ($config['id_user'], 0, "IR") == 1) { $sub["operation/incidents/incident_statistics"]["text"] = __('Statistics'); $menu["incidencias"]["sub"] = $sub; + $sec2 = $temp_sec2; } // Rest of options, all with AR privilege (or should events be with incidents?)