Fixed problems with query when have chief operation permission and show administration of alets. Tiquet: #2839

This commit is contained in:
m-lopez-f 2015-10-02 11:08:22 +02:00
parent a1bf9b4c69
commit c4644b4a4b
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ $form_filter .= "</tr>";
$all_groups = db_get_value('is_admin', 'tusuario', 'id_user', $config['id_user']); $all_groups = db_get_value('is_admin', 'tusuario', 'id_user', $config['id_user']);
$groups_user = users_get_groups($config['id_user'], 'LW', $all_groups); $groups_user = users_get_groups($config['id_user'], 'AR', $all_groups);
if ($groups_user === false) { if ($groups_user === false) {
$groups_user = array(); $groups_user = array();
} }