From 1933e68de6e6aa772601acd5fe8fd2be009140f7 Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Thu, 4 Nov 2010 18:15:10 +0000 Subject: [PATCH] 2010-11-04 Sergio Martin * operation/incidents/incident.php: Fixed incidents filter git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3526 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 4 ++++ pandora_console/operation/incidents/incident.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index e3419eab02..e1375a2a15 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2010-11-04 Sergio Martin + + * operation/incidents/incident.php: Fixed incidents filter + 2010-11-04 Miguel de Dios * include/functions_config.php: fixed empty spaces the list of ACL IP. diff --git a/pandora_console/operation/incidents/incident.php b/pandora_console/operation/incidents/incident.php index 48f62978ba..a212540a39 100644 --- a/pandora_console/operation/incidents/incident.php +++ b/pandora_console/operation/incidents/incident.php @@ -140,7 +140,7 @@ if ($usuario != "") $filter .= sprintf (" AND id_usuario = '%s'", $usuario); $estado = (int) get_parameter ("estado", -1); -if ($estado > 0) //-1 = All +if ($estado >= 0) //-1 = All $filter .= sprintf (" AND estado = %d", $estado); $grupo = (int) get_parameter ("grupo", 0);