From 8abebd1e5bdd16949816379f93df9ed00e28b574 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sun, 19 Mar 2006 11:13:16 +0000 Subject: [PATCH] Notice killing... ;-) --- lib/moodlelib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/moodlelib.php b/lib/moodlelib.php index 0042e3bf30..f4b8088178 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -3850,7 +3850,7 @@ function email_to_user($user, $from, $subject, $messagetext, $messagehtml='', $a /// If we are running under Unicode and sitemailcharset or allowusermailcharset are set, convert the email /// encoding to the specified one - if ($CFG->unicodedb && (!empty($CFG->sitemailcharset) || !empty($CFG->allowusermailcharset))) { + if (!empty($CFG->unicodedb) && (!empty($CFG->sitemailcharset) || !empty($CFG->allowusermailcharset))) { /// Set it to site mail charset $charset = $CFG->sitemailcharset; /// Overwrite it with the user mail charset -- 2.39.5