From 29e23b1c8f49e04e0ec9b343b9f6bb94bd74c47c Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Thu, 22 Apr 2010 17:11:46 +0000 Subject: [PATCH] 2010-04-22 Sergio Martin * operation/incidents/incident.php: Changed the All group on combos from 1 to 0 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2590 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 4 ++-- pandora_console/operation/incidents/incident.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 419f15d4b6..64db63fb9d 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,7 +1,7 @@ 2010-04-22 Sergio Martin - * godmode/groups/group_list.php: Avoid to show - the All group on the table + * operation/incidents/incident.php: Changed the + All group on combos from 1 to 0 2010-04-22 Sergio Martin diff --git a/pandora_console/operation/incidents/incident.php b/pandora_console/operation/incidents/incident.php index 4234acf874..6ec92bcb9e 100644 --- a/pandora_console/operation/incidents/incident.php +++ b/pandora_console/operation/incidents/incident.php @@ -141,8 +141,8 @@ $estado = (int) get_parameter ("estado", -1); if ($estado > 0) //-1 = All $filter .= sprintf (" AND estado = %d", $estado); -$grupo = (int) get_parameter ("grupo", 1); -if ($grupo > 1) { +$grupo = (int) get_parameter ("grupo", 0); +if ($grupo > 0) { $filter .= sprintf (" AND id_grupo = %d", $grupo); if (give_acl ($config['id_user'], $grupo, "IM") == 0) { audit_db ($config["id_user"],$config["remote_addr"],"ACL Forbidden","User tried to read incidents from group without access");