Permalink
Browse files

Typo in variable

  • Loading branch information...
1 parent 98c4eae commit d483bcd35dad1d5dbaac756c644ca963399e31ba moodler committed Nov 14, 2002
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/moodlelib.php
View
@@ -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) {

0 comments on commit d483bcd

Please sign in to comment.