MDL-17392 - mailstop typo - credit goes to Daniel Neis, thanks; backported from MOODLE_19_STABLE

This commit is contained in:
skodak
2008-12-01 22:41:53 +00:00
parent 81bd4c1d1a
commit 2235d76688
+2 -2
View File
@@ -108,14 +108,14 @@ if ($mform->is_cancelled()) {
}
// send email (make sure mail block is off)
$user->mailstop = 0;
$user->emailstop = 0;
if (!send_password_change_confirmation_email($user)) {
error('error sending password change confirmation email');
}
} else {
// send email (make sure mail block is off)
$user->mailstop = 0;
$user->emailstop = 0;
if (!send_password_change_info($user)) {
error('error sending password change confirmation email');
}