summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2018-12-20 23:11:00 +0100
committerBackportbot <backportbot-noreply@rullzer.com>2018-12-21 13:44:09 +0000
commitf82c5b50747c5bb2a59d998faae2f6f9348b98c3 (patch)
tree48de4a83cb8605e6e0541b7fc4dfd9b0cffa2c71 /apps
parenta599dc11f997fba0c4d4cab991994cd2bb5c3a03 (diff)
downloadnextcloud-server-f82c5b50747c5bb2a59d998faae2f6f9348b98c3.tar.gz
nextcloud-server-f82c5b50747c5bb2a59d998faae2f6f9348b98c3.zip
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>
Diffstat (limited to 'apps')
-rw-r--r--apps/user_ldap/lib/User/User.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/User/User.php b/apps/user_ldap/lib/User/User.php
index f4be19a7ad5..37bc2f04339 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,