summaryrefslogtreecommitdiff
path: root/utils/mail.php
diff options
context:
space:
mode:
authordeva <deva>2010-03-02 16:23:37 +0000
committerdeva <deva>2010-03-02 16:23:37 +0000
commit36c47611761b6479763dbae69572ae0beee9c4da (patch)
tree7a60cef336cb6667a7345e788e0db562cfac3d96 /utils/mail.php
parente7b6866edef753c3b0b2a4a4444e46141016493f (diff)
Add missing utf8 decode of content.
Diffstat (limited to 'utils/mail.php')
-rw-r--r--utils/mail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/mail.php b/utils/mail.php
index 42d1339..408f607 100644
--- a/utils/mail.php
+++ b/utils/mail.php
@@ -18,7 +18,7 @@ class Email {
$headers .= "Content-Type: text/plain; charset=iso-8859-1\r\n";
$headers .= "X-Mailer: PHP/" . phpversion();
- return mail($this->email, $subject, $message, $headers);
+ return mail($this->email, utf8_decode($subject), utf8_decode($message), $headers);
}
}