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

* 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
This commit is contained in:
zarzuelo 2010-04-22 17:11:46 +00:00
parent ee0ee36aa3
commit 47c7815061
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
2010-04-22 Sergio Martin <sergio.martin@artica.es> 2010-04-22 Sergio Martin <sergio.martin@artica.es>
* godmode/groups/group_list.php: Avoid to show * operation/incidents/incident.php: Changed the
the All group on the table All group on combos from 1 to 0
2010-04-22 Sergio Martin <sergio.martin@artica.es> 2010-04-22 Sergio Martin <sergio.martin@artica.es>

View File

@ -141,8 +141,8 @@ $estado = (int) get_parameter ("estado", -1);
if ($estado > 0) //-1 = All if ($estado > 0) //-1 = All
$filter .= sprintf (" AND estado = %d", $estado); $filter .= sprintf (" AND estado = %d", $estado);
$grupo = (int) get_parameter ("grupo", 1); $grupo = (int) get_parameter ("grupo", 0);
if ($grupo > 1) { if ($grupo > 0) {
$filter .= sprintf (" AND id_grupo = %d", $grupo); $filter .= sprintf (" AND id_grupo = %d", $grupo);
if (give_acl ($config['id_user'], $grupo, "IM") == 0) { 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"); audit_db ($config["id_user"],$config["remote_addr"],"ACL Forbidden","User tried to read incidents from group without access");