forked from extern/egroupware
* 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:
parent
4eac3a7c70
commit
cdf486ac51
@ -872,6 +872,7 @@ class filemanager_ui
|
|||||||
$row['class'] = 'isDir';
|
$row['class'] = 'isDir';
|
||||||
}
|
}
|
||||||
$row['download_url'] = egw_vfs::download_url($path);
|
$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;
|
$rows[++$n] = $row;
|
||||||
$path2n[$path] = $n;
|
$path2n[$path] = $n;
|
||||||
|
Loading…
Reference in New Issue
Block a user