diff --git a/phpgwapi/inc/class.translation_sql.inc.php b/phpgwapi/inc/class.translation_sql.inc.php index 0fbb3ef5b0..53c4ec7476 100644 --- a/phpgwapi/inc/class.translation_sql.inc.php +++ b/phpgwapi/inc/class.translation_sql.inc.php @@ -272,11 +272,17 @@ { return mb_convert_encoding($data,$to,$from); } - if (($data = iconv($from,$to,$date))) + if(function_exists('iconv')) { - return $data; + if (($data = iconv($from,$to,$date))) + { + return $data; + } } - die("

Can't convert from charset '$from' to '$to' without the mbstring extension !!!

"); + #die("

Can't convert from charset '$from' to '$to' without the mbstring extension !!!

"); + + // this is not good, not convert did succed + return $data; } /*!