mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
fixed not working charset conversation in setup
This commit is contained in:
parent
47afabd5b1
commit
327c0765ea
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user