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