MDL-17392 - mailstop typo - credit goes to Daniel Neis, thanks; backported from MOODLE_19_STABLE
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user