From cb01770f48b26c42b810a0b6b94a760527ff72c0 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 7 Oct 2003 01:02:19 +0000 Subject: [PATCH] small fix --- phpgwapi/inc/class.translation_sql.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phpgwapi/inc/class.translation_sql.inc.php b/phpgwapi/inc/class.translation_sql.inc.php index 8e773ef409..a34ef2d2e0 100644 --- a/phpgwapi/inc/class.translation_sql.inc.php +++ b/phpgwapi/inc/class.translation_sql.inc.php @@ -66,9 +66,9 @@ if ($this->mbstring = extension_loaded('mbstring') || @dl(PHP_SHLIB_PREFIX.'mbstring.'.PHP_SHLIB_SUFFIX)) { ini_set('mbstring.internal_encoding',$this->system_charset); - if (ini_get('mbstring.func_overload') < 4) + if (ini_get('mbstring.func_overload') < 7) { - if ($warnings) echo "

Warning: Please set mbstring.func_overload = 4 in your php.ini for useing $this->system_charset as your charset !!!

\n"; + if ($warnings) echo "

Warning: Please set mbstring.func_overload = 7 in your php.ini for useing $this->system_charset as your charset !!!

\n"; } } else @@ -247,7 +247,7 @@ } if (!$to) { - $to = $this->system_charset; + $to = $this->charset(); } if ($from == $to || !$from || !$to) {