Applied patch by Sven Geuer for the bugs he reported
* Fixes #23, #24, #25, #26
This commit is contained in:
parent
120577d003
commit
d2bd1b0ef0
3 changed files with 18 additions and 9 deletions
|
@ -169,5 +169,7 @@ function cmp_by_usernames(&$user1, &$user2) {
|
|||
|
||||
$namemapdata = file_get_contents($davconfig['namemap.file']);
|
||||
$namemap = json_decode($namemapdata, true);
|
||||
uasort($namemap, "cmp_by_usernames");
|
||||
?>
|
||||
if (is_array($namemap)) {
|
||||
uasort($namemap, "cmp_by_usernames");
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue