Typo in variable

This commit is contained in:
moodler 2002-11-14 11:48:01 +00:00
parent 98c4eae3ac
commit d483bcd35d

View File

@ -1578,8 +1578,8 @@ function email_to_user($user, $from, $subject, $messagetext, $messagehtml="", $a
$mail->PluginDir = "$CFG->libdir/phpmailer/"; // plugin directory (eg smtp plugin)
if ($CFG->lang != "en") {
$mail->Charset = get_string("thischarset");
if (current_language() != "en") {
$mail->CharSet = get_string("thischarset");
}
if ($CFG->smtphosts) {