From 2235d7668802ecb67c95c19486232f9ba003f731 Mon Sep 17 00:00:00 2001 From: skodak Date: Mon, 1 Dec 2008 22:41:53 +0000 Subject: [PATCH] MDL-17392 - mailstop typo - credit goes to Daniel Neis, thanks; backported from MOODLE_19_STABLE --- login/forgot_password.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/login/forgot_password.php b/login/forgot_password.php index 4de71992245..88f84c6b2ff 100644 --- a/login/forgot_password.php +++ b/login/forgot_password.php @@ -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'); }