diff --git a/filemanager/inc/class.bophpwebhosting.inc.php b/filemanager/inc/class.bophpwebhosting.inc.php index 848c5361d0..4d525cb6f3 100755 --- a/filemanager/inc/class.bophpwebhosting.inc.php +++ b/filemanager/inc/class.bophpwebhosting.inc.php @@ -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 ''."\n"; diff --git a/filemanager/inc/class.uiphpwebhosting.inc.php b/filemanager/inc/class.uiphpwebhosting.inc.php index 293c222d71..f946fce9cc 100755 --- a/filemanager/inc/class.uiphpwebhosting.inc.php +++ b/filemanager/inc/class.uiphpwebhosting.inc.php @@ -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 ),