From cf031d14bc02ebb980bce96a6b731019ec997780 Mon Sep 17 00:00:00 2001 From: skeeter Date: Sun, 7 Apr 2002 17:51:37 +0000 Subject: [PATCH] Clearing up a couple of warnings. --- phpgwapi/inc/class.setup_html.inc.php | 2 +- setup/manageheader.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.setup_html.inc.php b/phpgwapi/inc/class.setup_html.inc.php index 7e4f9a75ed..0ce05e43c8 100644 --- a/phpgwapi/inc/class.setup_html.inc.php +++ b/phpgwapi/inc/class.setup_html.inc.php @@ -72,7 +72,7 @@ { $GLOBALS['setup_tpl']->set_var('configdomain',' - ' . lang('Domain') . ': ' . $configdomain); } - $GLOBALS['setup_tpl']->set_var('pgw_ver',$GLOBALS['phpgw_info']['server']['versions']['phpgwapi']); + $GLOBALS['setup_tpl']->set_var('pgw_ver',@$GLOBALS['phpgw_info']['server']['versions']['phpgwapi']); $GLOBALS['setup_tpl']->set_var('logoutbutton',$btn_logout); $GLOBALS['setup_tpl']->pparse('out','T_head'); /* $setup_tpl->set_var('T_head',''); */ diff --git a/setup/manageheader.php b/setup/manageheader.php index b694a22b35..e3899e4ae2 100644 --- a/setup/manageheader.php +++ b/setup/manageheader.php @@ -98,7 +98,7 @@ break; } - switch($HTTP_POST_VARS['action']) + switch(@$GLOBALS['HTTP_POST_VARS']['action']) { case 'download': check_form_values();