From 86b126ef3a9622e894bc3a1d5465bf32c1099f7b Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 22 Apr 2009 04:33:12 +0000 Subject: [PATCH] "quietent \"Warning: mb_convert_encoding() [function.mb-convert-encoding]: Illegal character encoding\" reported on the devel list" --- phpgwapi/inc/class.translation.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.translation.inc.php b/phpgwapi/inc/class.translation.inc.php index 054301e8f5..8d802ccd83 100644 --- a/phpgwapi/inc/class.translation.inc.php +++ b/phpgwapi/inc/class.translation.inc.php @@ -493,7 +493,7 @@ class translation { return utf8_decode($data); } - if (self::$mbstring && ($data = mb_convert_encoding($data,$to,$from)) != '') + if (self::$mbstring && ($data = @mb_convert_encoding($data,$to,$from)) != '') { return $data; }