[core] Fix broken cleanup of $_GET

This commit is contained in:
Herman van Rink
2009-12-28 15:50:36 +00:00
parent 13fc94b844
commit f175026ff0
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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]);
}
}