mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Converting to get_var() for all HTTP_*_VARS.
This commit is contained in:
parent
e3bf408609
commit
998b1e05c7
@ -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";
|
||||
|
@ -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
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user