From: skodak Date: Sat, 26 Sep 2009 19:17:21 +0000 (+0000) Subject: MDL-20209 fixed incorrect mail sync with ext auths X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=64521d31ac94a235f9ea28196c980ea001832f19;p=moodle.git MDL-20209 fixed incorrect mail sync with ext auths --- diff --git a/user/edit.php b/user/edit.php index 777b8125bd..c539fed742 100644 --- a/user/edit.php +++ b/user/edit.php @@ -167,7 +167,7 @@ if ($usernew = $userform->get_data()) { $DB->update_record('user', $usernew); // pass a true $userold here - if (! $authplugin->user_update($user, $userform->get_data())) { + if (! $authplugin->user_update($user, $usernew)) { // auth update failed, rollback for moodle $DB->update_record('user', $user); print_error('cannotupdateprofile');