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/13218/head
Arthur Schiwon 2018-12-20 23:11:00 +07:00 committed by Backportbot
parent 3538e2e25a
commit c1e03e2a29
1 changed files with 1 additions and 1 deletions

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