Skip to content

Commit d1490a9

Browse files
authored
Merge pull request #13218 from nextcloud/backport/13187/stable15
[stable15] do not forgot to store the second displayname portion
2 parents 3538e2e + c1e03e2 commit d1490a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/user_ldap/lib/User/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public function processAttributes($ldapEntry) {
202202
$displayName2 = (string)$ldapEntry[$attr][0];
203203
}
204204
if ($displayName !== '') {
205-
$this->composeAndStoreDisplayName($displayName);
205+
$this->composeAndStoreDisplayName($displayName, $displayName2);
206206
$this->access->cacheUserDisplayName(
207207
$this->getUsername(),
208208
$displayName,

0 commit comments

Comments
 (0)