Merge branch 'ent-4904-8870-No-se-puede-ver-usuarios-sin-permisos-AR' into 'develop'

fix bug in user list permission checks

See merge request artica/pandorafms!2865
This commit is contained in:
Daniel Rodriguez 2019-11-06 16:06:49 +01:00
commit 0647b156a5
1 changed files with 1 additions and 1 deletions

View File

@ -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.