Merge pull request #13220 from nextcloud/backport/13187/stable13

[stable13] do not forgot to store the second displayname portion
This commit is contained in:
blizzz 2018-12-21 16:57:35 +01:00 committed by GitHub
commit f11706e351
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ class User {
$displayName2 = strval($ldapEntry[$attr][0]);
}
if ($displayName !== '') {
$this->composeAndStoreDisplayName($displayName);
$this->composeAndStoreDisplayName($displayName, $displayName2);
$this->access->cacheUserDisplayName(
$this->getUsername(),
$displayName,