2010-11-04 Sergio Martin <sergio.martin@artica.es>

* 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
This commit is contained in:
zarzuelo 2010-11-04 18:15:10 +00:00
parent 9c566086ac
commit 7731df03ea
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-11-04 Sergio Martin <sergio.martin@artica.es>
* operation/incidents/incident.php: Fixed incidents filter
2010-11-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php: fixed empty spaces the list of ACL IP.

View File

@ -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);