Merge pull request #13219 from nextcloud/backport/13187/stable14

[stable14] do not forgot to store the second displayname portion
This commit is contained in:
blizzz 2018-12-21 16:58:17 +01:00 committed by GitHub
commit b9628e74fc
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 = (string)$ldapEntry[$attr][0];
}
if ($displayName !== '') {
$this->composeAndStoreDisplayName($displayName);
$this->composeAndStoreDisplayName($displayName, $displayName2);
$this->access->cacheUserDisplayName(
$this->getUsername(),
$displayName,