From 0d79e2ec2da2ea2085d46429e9900c40a7d545d8 Mon Sep 17 00:00:00 2001 From: skodak Date: Mon, 1 Dec 2008 22:38:40 +0000 Subject: [PATCH] MDL-17392 - mailstop typo - credit goes to Daniel Neis, thanks; merged from MOODLE_19_STABLE --- login/forgot_password.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/login/forgot_password.php b/login/forgot_password.php index 3c5d8f67c0..8a04a55a37 100644 --- a/login/forgot_password.php +++ b/login/forgot_password.php @@ -109,7 +109,7 @@ if ($mform->is_cancelled()) { $userauth = get_auth_plugin($user->auth); if (has_capability('moodle/user:changeownpassword', $systemcontext, $user->id)) { // send email (make sure mail block is off) - $user->mailstop = 0; + $user->emailstop = 0; } if ($userauth->can_reset_password() and is_enabled_auth($user->auth) -- 2.39.5