summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-06-06 09:30:18 +0200
committerAleksander Machniak <alec@alec.pl>2012-06-06 09:30:18 +0200
commiteede5101cda06c5f64ddbdc3cd71e8351eaabd2b (patch)
tree9e7cd2ab4cbe1be73269bcd638540de52c9254e9
parent0f5dee00df59dd2f97c36aa0fc3aca062f9d223a (diff)
Fix default_charset handling
-rw-r--r--program/include/rcube_mime.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/program/include/rcube_mime.php b/program/include/rcube_mime.php
index 53655a9cb..e1f736a78 100644
--- a/program/include/rcube_mime.php
+++ b/program/include/rcube_mime.php
@@ -31,7 +31,7 @@
*/
class rcube_mime
{
- private static $default_charset = RCMAIL_CHARSET;
+ private static $default_charset;
/**
@@ -39,9 +39,7 @@ class rcube_mime
*/
function __construct($default_charset = null)
{
- if ($default_charset) {
- self::$default_charset = $default_charset;
- }
+ self::$default_charset = $default_charset;
}