From 4b9d6f1ae222c2dd218cb857dee65860447b7548 Mon Sep 17 00:00:00 2001 From: alejandro-campos Date: Tue, 5 Nov 2019 17:18:38 +0100 Subject: [PATCH] fix bug in user list permission checks --- pandora_console/godmode/users/user_list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/godmode/users/user_list.php b/pandora_console/godmode/users/user_list.php index 6a02f4bb57..04ac8a22b6 100644 --- a/pandora_console/godmode/users/user_list.php +++ b/pandora_console/godmode/users/user_list.php @@ -418,7 +418,7 @@ if ($own_info['is_admin']) { else { foreach ($info1 as $key => $usr) { $u = get_user_info($key); - $g = users_get_groups($key, 'AR', $u['is_admin']); + $g = users_get_groups($key, false, $u['is_admin']); $result = array_intersect($g, $own_groups); // Show users without profile too.