diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 88779021f7..a634d458d4 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2012-02-09 Sergio Martin + + * godmode/groups/group_list.php: Cleaned old code used in + policy filter ajax call + 2012-02-09 Juan Manuel Ramon * operation/events/events_list.php: Changed toggle filter in this diff --git a/pandora_console/godmode/groups/group_list.php b/pandora_console/godmode/groups/group_list.php index fe26db68c3..59a801f0c9 100644 --- a/pandora_console/godmode/groups/group_list.php +++ b/pandora_console/godmode/groups/group_list.php @@ -65,7 +65,6 @@ if (is_ajax ()) { $id_group = (int) get_parameter ('id_group'); $disabled = (int) get_parameter ('disabled', 0); $search = (string) get_parameter ('search', ''); - $keycount = (int) get_parameter ('keycount', 0); $recursion = (int) get_parameter ('recursion', 0); if (! check_acl ($config['id_user'], $id_group, "AR")) { @@ -81,8 +80,7 @@ if (is_ajax ()) { $filter['string'] = $search; } - $agents['keycount'] = $keycount; - $agents = $agents + agents_get_group_agents ($id_group, $filter, "none", false, $recursion); + $agents = agents_get_group_agents ($id_group, $filter, "none", false, $recursion); echo json_encode ($agents); return; }