From 272be2942b56da51cbb73f8a128f57fe4f3630e5 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 17 Nov 2004 12:46:02 +0000 Subject: [PATCH] fixed spelling error which caused the green check to displayed at the admin-account section even if no user accounts exist --- setup/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/index.php b/setup/index.php index b594b43006..07d82e09bc 100644 --- a/setup/index.php +++ b/setup/index.php @@ -511,8 +511,8 @@ function check_dir($dir,&$msg,$check_in_docroot=false) // Note: this does not check the availiblitly of accounts via other auth-methods then sql !!! $GLOBALS['phpgw_setup']->db->query("SELECT count(*) FROM phpgw_accounts WHERE account_type='u' AND account_lid!='anonymous'",__LINE__,__FILE__); $no_accounts = !$GLOBALS['phpgw_setup']->db->next_record() || !$GLOBALS['phpgw_setup']->db->f(0); - $setup_tpl->set_var('admin_status_img',$no_account ? $incomplete : $completed); - $setup_tpl->set_var('admin_status_alt',$no_account ? lang('not completed') : lang('completed')); + $setup_tpl->set_var('admin_status_img',$no_accounts ? $incomplete : $completed); + $setup_tpl->set_var('admin_status_alt',$no_accounts ? lang('not completed') : lang('completed')); $setup_tpl->set_var('admin_table_data',$GLOBALS['phpgw_setup']->html->make_frm_btn_simple( $no_accounts ? lang('No accounts existing') : lang('Accounts existing'), 'POST','setup_demo.php',