From 9c5bdc004b5d0775efe12d23d56a2ed6244ab542 Mon Sep 17 00:00:00 2001 From: Herman van Rink Date: Mon, 28 Dec 2009 15:50:36 +0000 Subject: [PATCH] [core] Fix broken cleanup of $_GET --- ChangeLog | 1 + index.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index dac2826e8..8720fd40c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18,6 +18,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA thanks to Greg Roach - fisharebest - patch #2918831 [export] Missing backquotes on reserved words, thanks to Virsacer - virsacer +- [core] Fix broken cleanup of $_GET 3.2.4.0 (2009-12-02) - bug [engines] Innodb_buffer_pool_pages_latched no longer returned in status diff --git a/index.php b/index.php index 837e0ac0d..ef0f8304a 100644 --- a/index.php +++ b/index.php @@ -67,7 +67,7 @@ $drops = array('lang', 'server', 'convcharset', 'collation_connection', 'db', 'table'); foreach ($drops as $each_drop) { - if (! array_key_exists($each_drop, $_GET)) { + if (array_key_exists($each_drop, $_GET)) { unset($_GET[$each_drop]); } }