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:
parent
9c566086ac
commit
7731df03ea
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue