mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
fix for Debian Bug#569677: egroupware-core: base configuration fails with php error if egroupware-emailadmin is not installed
This commit is contained in:
parent
0c640ed171
commit
0affaddfb2
@ -43,7 +43,7 @@ function mail_server($settings)
|
|||||||
{
|
{
|
||||||
$GLOBALS['config_error'] = lang('Missing or uncomplete mailserver configuration');
|
$GLOBALS['config_error'] = lang('Missing or uncomplete mailserver configuration');
|
||||||
}
|
}
|
||||||
if (@file_exists('../emailadmin/inc/class.emailadmin_bo.inc.php') && $GLOBALS['egw_setup']->table_exist(array('egw_emailadmin')) || true)
|
if (@file_exists('../emailadmin/inc/class.emailadmin_bo.inc.php') && $GLOBALS['egw_setup']->table_exist(array('egw_emailadmin')))
|
||||||
{
|
{
|
||||||
$emailadmin = new emailadmin_bo(-1,false); // false=no session stuff
|
$emailadmin = new emailadmin_bo(-1,false); // false=no session stuff
|
||||||
if (is_object($emailadmin))
|
if (is_object($emailadmin))
|
||||||
|
Loading…
Reference in New Issue
Block a user