Skip to content

Commit

Permalink
Merge pull request #13187 from nextcloud/fix/noid/ldap-misses-store-2…
Browse files Browse the repository at this point in the history
…n-displayname-portion

do not forgot to store the second displayname portion
  • Loading branch information
skjnldsv authored Dec 21, 2018
2 parents 7717fc0 + 8bacbff commit c2d75dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/user_ldap/lib/User/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public function processAttributes($ldapEntry) {
$displayName2 = (string)$ldapEntry[$attr][0];
}
if ($displayName !== '') {
$this->composeAndStoreDisplayName($displayName);
$this->composeAndStoreDisplayName($displayName, $displayName2);
$this->access->cacheUserDisplayName(
$this->getUsername(),
$displayName,
Expand Down

0 comments on commit c2d75dd

Please sign in to comment.