From f175026ff0d873c5c73bc841697596e995e271b9 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 12f37c640..34d1338ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,7 @@ $Id$ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyAdmin/ChangeLog $ 2.11.11.0 (not yet released) +- [core] Fix broken cleanup of $_GET 2.11.10.0 (2009-12-07) - [core] safer handling of temporary files with open_basedir (thanks to Thijs diff --git a/index.php b/index.php index c917b3bc6..f5c048333 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]); } }