mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +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)
|
function initialize_vars($name)
|
||||||
{
|
{
|
||||||
$var = ($GLOBALS['HTTP_GET_VARS'][$name]?$GLOBALS['HTTP_GET_VARS'][$name]:'');
|
$var = get_var($name,Array('GET','POST'));
|
||||||
$var = ($GLOBALS['HTTP_POST_VARS'][$name]?$GLOBALS['HTTP_POST_VARS'][$name]:$var);
|
|
||||||
if($this->debug)
|
if($this->debug)
|
||||||
{
|
{
|
||||||
echo '<!-- '.$name.' = '.$var.' -->'."\n";
|
echo '<!-- '.$name.' = '.$var.' -->'."\n";
|
||||||
|
@ -298,7 +298,7 @@
|
|||||||
{
|
{
|
||||||
return $this->link(
|
return $this->link(
|
||||||
Array(
|
Array(
|
||||||
'menuaction' => $GLOBALS['HTTP_GET_VARS']['menuaction'],
|
'menuaction' => get_var('menuaction',Array('GET')),
|
||||||
'path' => $this->bo->path,
|
'path' => $this->bo->path,
|
||||||
'show_upload_boxes' => $number
|
'show_upload_boxes' => $number
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user