Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98c4eae
)
Typo in variable
author
moodler
<moodler>
Thu, 14 Nov 2002 11:48:01 +0000
(11:48 +0000)
committer
moodler
<moodler>
Thu, 14 Nov 2002 11:48:01 +0000
(11:48 +0000)
lib/moodlelib.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/moodlelib.php
b/lib/moodlelib.php
index
59457cd
..
7b31b62
100644
(file)
--- a/
lib/moodlelib.php
+++ b/
lib/moodlelib.php
@@
-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->Char
s
et = get_string("thischarset");
+ if (
current_language()
!= "en") {
+ $mail->Char
S
et = get_string("thischarset");
}
if ($CFG->smtphosts) {