summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2018-12-20 23:11:00 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2018-12-20 23:11:00 +0100
commit8bacbffe280e2ee85f08e11338583ff56a58535f (patch)
tree8987e2154a9201d4675027826f90e808f8424c45 /apps/user_ldap/lib
parent2679d85782734ac95a400c63297790a916050fe5 (diff)
downloadnextcloud-server-8bacbffe280e2ee85f08e11338583ff56a58535f.tar.gz
nextcloud-server-8bacbffe280e2ee85f08e11338583ff56a58535f.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/user_ldap/lib')
-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 706424d3189..0d8f993746f 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,