summaryrefslogtreecommitdiff
path: root/program/include/main.inc
diff options
context:
space:
mode:
Diffstat (limited to 'program/include/main.inc')
-rw-r--r--program/include/main.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index 6b738e37a..36d39085d 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -195,7 +195,7 @@ function rcube_charset_convert($str, $from, $to=NULL)
// convert charset using iconv module
if (function_exists('iconv') && $from != 'UTF-7' && $to != 'UTF-7') {
- $_iconv = iconv($from, $to . '//IGNORE', $str);
+ $_iconv = @iconv($from, $to . '//IGNORE', $str);
if ($_iconv !== false) {
return $_iconv;
}