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>
This commit is contained in:
Arthur Schiwon 2018-12-20 23:11:00 +01:00
parent 2679d85782
commit 8bacbffe28
No known key found for this signature in database
GPG key ID: 7424F1874854DF23

View file

@ -202,7 +202,7 @@ class User {
$displayName2 = (string)$ldapEntry[$attr][0]; $displayName2 = (string)$ldapEntry[$attr][0];
} }
if ($displayName !== '') { if ($displayName !== '') {
$this->composeAndStoreDisplayName($displayName); $this->composeAndStoreDisplayName($displayName, $displayName2);
$this->access->cacheUserDisplayName( $this->access->cacheUserDisplayName(
$this->getUsername(), $this->getUsername(),
$displayName, $displayName,