]> source.dussan.org Git - nextcloud-server.git/commitdiff
a corrected email attribute needs to be saved, not only returned
authorArthur Schiwon <blizzz@owncloud.com>
Wed, 29 Oct 2014 09:27:17 +0000 (10:27 +0100)
committerArthur Schiwon <blizzz@owncloud.com>
Thu, 20 Nov 2014 17:31:39 +0000 (18:31 +0100)
apps/user_ldap/lib/wizard.php

index 63b7e22ce8cafc6b09dea3a2df5e89004b470233..2f8d97c89da9dd9ad73e0c52205586cfbeee99d9 100644 (file)
@@ -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 ' .