]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-17392 - mailstop typo - credit goes to Daniel Neis, thanks; merged from MOODLE_19...
authorskodak <skodak>
Mon, 1 Dec 2008 22:38:40 +0000 (22:38 +0000)
committerskodak <skodak>
Mon, 1 Dec 2008 22:38:40 +0000 (22:38 +0000)
login/forgot_password.php

index 3c5d8f67c011964b23419aed9e4493dfc9e7f964..8a04a55a37830e481d96c7c4ef7f8fc2ca782be5 100644 (file)
@@ -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)