do not forgot to store the second displayname portion

otherwise it causes a chain reaction of system addressbook updates

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
pull/13187/head
Arthur Schiwon 7 years ago
parent 2679d85782
commit 8bacbffe28
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
  1. 2
      apps/user_ldap/lib/User/User.php

@ -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,

Loading…
Cancel
Save