diff options
author | alecpl <alec@alec.pl> | 2010-02-05 13:10:42 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-02-05 13:10:42 +0000 |
commit | b77c9d4669ec9596c8d39d0dec29c8a343aaa155 (patch) | |
tree | 95f3b02ea5df6a6e8b74f2bc2fff49f07c273481 | |
parent | f6b145d5612f7605b36deee8858565611126bee8 (diff) |
- fix
-rw-r--r-- | program/include/main.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/main.inc b/program/include/main.inc index 944cdf708..f09db8cdb 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -200,7 +200,7 @@ function rcube_charset_convert($str, $from, $to=NULL) $error = false; - $to = empty($to) ? $to = strtoupper(RCMAIL_CHARSET) : rcube_parse_charset($to); + $to = empty($to) ? strtoupper(RCMAIL_CHARSET) : rcube_parse_charset($to); $from = rcube_parse_charset($from); if ($from == $to || empty($str) || empty($from)) |