]> git.mjollnir.org Git - moodle.git/commitdiff
Notice killing... ;-)
authorstronk7 <stronk7>
Sun, 19 Mar 2006 11:10:25 +0000 (11:10 +0000)
committerstronk7 <stronk7>
Sun, 19 Mar 2006 11:10:25 +0000 (11:10 +0000)
lib/phpmailer/class.phpmailer.php

index 0752dbd81f9d4d1805a7bed7b350a869136275ea..f640cdfb12a9e8f3e8082edf0c0ffe18ad2965d9 100644 (file)
@@ -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);
         }