From 48e8eda4ae14222acd2109767b1c4d16d76a4612 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Tue, 15 Feb 2011 13:47:39 +0000 Subject: [PATCH] 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. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3846 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/godmode/groups/group_list.php | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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");