Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2018-12-21 01:11:00 +0300
committerBackportbot <backportbot-noreply@rullzer.com>2018-12-21 16:44:16 +0300
commit827be719f9140a5a7c556672faa1c6f11fe703c7 (patch)
tree158a7850a36cc7e18431ea79e41e196dd71efb92 /apps
parent69798a20a4f7b1ce4f4430f8e0278062fcb1af9f (diff)
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 7c5edcad6b0..7070fe21210 100644
--- a/apps/user_ldap/lib/User/User.php
+++ b/apps/user_ldap/lib/User/User.php
@@ -202,7 +202,7 @@ class User {
$displayName2 = strval($ldapEntry[$attr][0]);
}
if ($displayName !== '') {
- $this->composeAndStoreDisplayName($displayName);
+ $this->composeAndStoreDisplayName($displayName, $displayName2);
$this->access->cacheUserDisplayName(
$this->getUsername(),
$displayName,