From 49d42163054951544f07a2628ed13b38dc31845e Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 7 Oct 2003 15:05:14 +0000 Subject: [PATCH] fix for not set up user-charset --- phpgwapi/inc/class.translation_sql.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.translation_sql.inc.php b/phpgwapi/inc/class.translation_sql.inc.php index b040284b36..0e077ed44b 100644 --- a/phpgwapi/inc/class.translation_sql.inc.php +++ b/phpgwapi/inc/class.translation_sql.inc.php @@ -93,7 +93,7 @@ } return $this->charsets[$lang]; } - return $this->system_charset ? $this->system_charset : strtolower($this->translate('charset')); + return $this->system_charset || !is_array($GLOBALS['lang']) ? $this->system_charset : strtolower($this->translate('charset')); } function init()