Clearing up a couple of warnings.

This commit is contained in:
skeeter 2002-04-07 17:51:37 +00:00
parent 27d6f340bf
commit cf031d14bc
2 changed files with 2 additions and 2 deletions

View File

@ -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',''); */

View File

@ -98,7 +98,7 @@
break;
}
switch($HTTP_POST_VARS['action'])
switch(@$GLOBALS['HTTP_POST_VARS']['action'])
{
case 'download':
check_form_values();