Change privilege in call function to return groups of view this user. Tiquet: #2259

This commit is contained in:
m-lopez-f 2015-06-01 10:06:42 +02:00
parent 0b5ba410fd
commit 73ae001a3f
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}