From 84fbe2c7586476ac4664e02159a6816749029323 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 23 May 2016 13:35:46 +0200 Subject: [PATCH] Do not remove globals on parameters cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This code is there probably since register_globals times and is no longer necessary. Signed-off-by: Michal Čihař --- libraries/cleanup.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/cleanup.lib.php b/libraries/cleanup.lib.php index b4f07c9df5..678f2fd7d2 100644 --- a/libraries/cleanup.lib.php +++ b/libraries/cleanup.lib.php @@ -25,7 +25,7 @@ function PMA_removeRequestVars(&$whitelist) foreach ($keys as $key) { if (! in_array($key, $whitelist)) { - unset($_REQUEST[$key], $_GET[$key], $_POST[$key], $GLOBALS[$key]); + unset($_REQUEST[$key], $_GET[$key], $_POST[$key]); continue; }