From f82c5b50747c5bb2a59d998faae2f6f9348b98c3 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Thu, 20 Dec 2018 23:11:00 +0100 Subject: [PATCH] do not forgot to store the second displayname portion otherwise it causes a chain reaction of system addressbook updates Signed-off-by: Arthur Schiwon --- apps/user_ldap/lib/User/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/user_ldap/lib/User/User.php b/apps/user_ldap/lib/User/User.php index f4be19a7ad..37bc2f0433 100644 --- a/apps/user_ldap/lib/User/User.php +++ b/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,