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:
parent
5f4f5e6e45
commit
29e23b1c8f
|
@ -1,7 +1,7 @@
|
|||
2010-04-22 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* 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 <sergio.martin@artica.es>
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue