From 84fb973c6f06f2f2e43481a7d31affda3bbe18e1 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 (cherry picked from commit 73ae001a3fcb8e23b95e6f972b385e9d2acb14ef) --- 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 509279569b..6990815eb8 100644 --- a/pandora_console/godmode/alerts/alert_list.list.php +++ b/pandora_console/godmode/alerts/alert_list.list.php @@ -89,7 +89,7 @@ $form_filter .= ""; $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(); }