Change privilege in call function to return groups of view this user. Tiquet: #2259
(cherry picked from commit 73ae001a3f
)
This commit is contained in:
parent
306c7f016a
commit
84fb973c6f
|
@ -89,7 +89,7 @@ $form_filter .= "</tr>";
|
|||
|
||||
$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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue