mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Typo in variable
This commit is contained in:
parent
98c4eae3ac
commit
d483bcd35d
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user