From 73ae001a3fcb8e23b95e6f972b385e9d2acb14ef Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Mon, 1 Jun 2015 10:06:42 +0200 Subject: [PATCH] Change privilege in call function to return groups of view this user. Tiquet: #2259 --- pandora_console/godmode/alerts/alert_list.list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/godmode/alerts/alert_list.list.php b/pandora_console/godmode/alerts/alert_list.list.php index 6e289bc031..3f23c81603 100644 --- a/pandora_console/godmode/alerts/alert_list.list.php +++ b/pandora_console/godmode/alerts/alert_list.list.php @@ -88,7 +88,7 @@ $form_filter .= "\n"; $all_groups = db_get_value('is_admin', 'tusuario', 'id_user', $config['id_user']); -$groups_user = users_get_groups($config['id_user'], 'AR', $all_groups); +$groups_user = users_get_groups($config['id_user'], 'LW', $all_groups); if ($groups_user === false) { $groups_user = array(); }