aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-10-29 10:27:17 +0100
committerArthur Schiwon <blizzz@owncloud.com>2014-11-20 18:31:39 +0100
commit4a3fe42b1672f5110076c75582edb5a43b7ea577 (patch)
tree03d625b575d72d45addf0f2da70a98a4f3726089 /apps
parentf9b4f5f4e548715b06feec14236d68d330e865b2 (diff)
downloadnextcloud-server-4a3fe42b1672f5110076c75582edb5a43b7ea577.tar.gz
nextcloud-server-4a3fe42b1672f5110076c75582edb5a43b7ea577.zip
a corrected email attribute needs to be saved, not only returned
Diffstat (limited to 'apps')
-rw-r--r--apps/user_ldap/lib/wizard.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/wizard.php b/apps/user_ldap/lib/wizard.php
index 63b7e22ce8c..2f8d97c89da 100644
--- a/apps/user_ldap/lib/wizard.php
+++ b/apps/user_ldap/lib/wizard.php
@@ -233,7 +233,7 @@ class Wizard extends LDAPUtility {
}
if($winner !== '') {
- $this->result->addChange('ldap_email_attr', $winner);
+ $this->applyFind('ldap_email_attr', $winner);
if($writeLog) {
\OCP\Util::writeLog('user_ldap', 'The mail attribute has ' .
'automatically been reset, because the original value ' .