From c5c9030104235884475e2bbd6f3b25587f251b1f Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 22 Jul 2004 18:38:42 +0000 Subject: [PATCH] fixed the code, which was not working after the right table-name was used ;-) dont think that part is used anyhow --- phpgwapi/inc/class.setup_detection.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.setup_detection.inc.php b/phpgwapi/inc/class.setup_detection.inc.php index f92282054d..bf476ff9ee 100644 --- a/phpgwapi/inc/class.setup_detection.inc.php +++ b/phpgwapi/inc/class.setup_detection.inc.php @@ -326,8 +326,7 @@ } @$GLOBALS['phpgw_setup']->db->query("select config_value from $config_table where config_name='freshinstall'"); - $GLOBALS['phpgw_setup']->db->next_record(); - $configed = $GLOBALS['phpgw_setup']->db->f('config_value'); + $configured = $GLOBALS['phpgw_setup']->db->next_record() ? $GLOBALS['phpgw_setup']->db->f('config_value') : False; if($configed) { $GLOBALS['phpgw_info']['setup']['header_msg'] = 'Stage 2 (Needs Configuration)';