* LDAP/AD/UCS/Filemanager: group-names were displayed as "#123" instead of name

caused by LDAP backend needs correct negative sign for groups, while SQL backend finds groups also with there positive id
This commit is contained in:
Ralf Becker 2015-03-27 09:29:11 +00:00
parent 4eac3a7c70
commit cdf486ac51

View File

@ -872,6 +872,7 @@ class filemanager_ui
$row['class'] = 'isDir';
}
$row['download_url'] = egw_vfs::download_url($path);
$row['gid'] = -abs($row['gid']); // gid are positive, but we use negagive account_id for groups internal
$rows[++$n] = $row;
$path2n[$path] = $n;