fixed not working charset conversation in setup

This commit is contained in:
Ralf Becker 2005-04-15 14:01:15 +00:00
parent 47afabd5b1
commit 327c0765ea

View File

@ -1198,14 +1198,18 @@
{
$app = $this->app ? $this->app : $GLOBALS['phpgw_info']['flags']['currentapp'];
}
if (isset($GLOBALS['phpgw_info']['apps'])) // this happens during the eGW startup, dont set it then !!!
if (isset($GLOBALS['phpgw_info']['apps'])) // dont set it, if it does not exist!!!
{
$this->app_data = &$GLOBALS['phpgw_info']['apps'][$app];
}
// this happens during the eGW startup or in setup
else
{
$this->app_data =& $this->all_app_data[$app];
}
if (!isset($this->app_data['table_defs']))
{
$tables_current = PHPGW_INCLUDE_ROOT . "/$app/setup/tables_current.inc.php";
if (!@file_exists($tables_current))
{
return $this->app_data['table_defs'] = False;