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

This commit is contained in:
skodak
2008-12-01 22:38:40 +00:00
parent f6d3e2c486
commit 0d79e2ec2d
+1 -1
View 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)