diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 5a56c36e3c..4a41889b80 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2011-02-15 Miguel de Dios + + * godmode/groups/group_list.php: refixed the position of check login for + check in normal access and ajax access. + 2011-02-15 Juan Manuel Ramon * godmode/menu.php: "godmode > manage alert > commands" tab only diff --git a/pandora_console/godmode/groups/group_list.php b/pandora_console/godmode/groups/group_list.php index 1dd1e3a638..388679bf61 100644 --- a/pandora_console/godmode/groups/group_list.php +++ b/pandora_console/godmode/groups/group_list.php @@ -17,6 +17,8 @@ // Load global vars global $config; +check_login(); + require_once("include/functions_groups.php"); if (is_ajax ()) { @@ -71,8 +73,6 @@ if (is_ajax ()) { return; } -check_login(); - if (! give_acl($config['id_user'], 0, "PM")) { pandora_audit("ACL Violation", "Trying to access Group Management");