mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
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
ee0ee36aa3
commit
47c7815061
@ -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>
|
||||||
|
|
||||||
|
@ -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");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user