Converting to get_var() for all HTTP_*_VARS.

This commit is contained in:
skeeter 2002-04-30 00:21:35 +00:00
parent e3bf408609
commit 998b1e05c7
2 changed files with 2 additions and 3 deletions

View File

@ -242,8 +242,7 @@
function initialize_vars($name)
{
$var = ($GLOBALS['HTTP_GET_VARS'][$name]?$GLOBALS['HTTP_GET_VARS'][$name]:'');
$var = ($GLOBALS['HTTP_POST_VARS'][$name]?$GLOBALS['HTTP_POST_VARS'][$name]:$var);
$var = get_var($name,Array('GET','POST'));
if($this->debug)
{
echo '<!-- '.$name.' = '.$var.' -->'."\n";

View File

@ -298,7 +298,7 @@
{
return $this->link(
Array(
'menuaction' => $GLOBALS['HTTP_GET_VARS']['menuaction'],
'menuaction' => get_var('menuaction',Array('GET')),
'path' => $this->bo->path,
'show_upload_boxes' => $number
),