fix for not set up user-charset

This commit is contained in:
Ralf Becker 2003-10-07 15:05:14 +00:00
parent ca460b5aae
commit 49d4216305

View File

@ -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()