mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Notice killing... ;-)
This commit is contained in:
parent
570c30aaa0
commit
a848411a3b
@ -1155,7 +1155,7 @@ class PHPMailer
|
||||
/// Start Moodle Hack - if we are running under unicodedb, we'll try our own
|
||||
/// encode_header code that's multibyte-safe
|
||||
global $CFG;
|
||||
if ($CFG->unicodedb) {
|
||||
if (!empty($CFG->unicodedb)) {
|
||||
$textlib = textlib_get_instance();
|
||||
return $textlib->encode_mimeheader($str, $this->CharSet);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user