From 0affaddfb286e5c21d8216cffafa0a5a9e8292bc Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 15 Feb 2010 02:58:58 +0000 Subject: [PATCH] fix for Debian Bug#569677: egroupware-core: base configuration fails with php error if egroupware-emailadmin is not installed --- setup/inc/hook_config_validate.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/inc/hook_config_validate.inc.php b/setup/inc/hook_config_validate.inc.php index 35e0d102ed..57cd5dac6a 100644 --- a/setup/inc/hook_config_validate.inc.php +++ b/setup/inc/hook_config_validate.inc.php @@ -43,7 +43,7 @@ function mail_server($settings) { $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 if (is_object($emailadmin))