From b77c9d4669ec9596c8d39d0dec29c8a343aaa155 Mon Sep 17 00:00:00 2001 From: alecpl Date: Fri, 5 Feb 2010 13:10:42 +0000 Subject: - fix --- program/include/main.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/include') 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)) -- cgit v1.2.3