diff --git a/libraries/Footer.class.php b/libraries/Footer.class.php index 074134434b..d999d16092 100644 --- a/libraries/Footer.class.php +++ b/libraries/Footer.class.php @@ -61,7 +61,6 @@ class PMA_Footer $this->_scripts = new PMA_Scripts(); $this->_isMinimal = false; $this->_addDefaultScripts(); - unset($POST); } /** diff --git a/test/classes/PMA_Footer_test.php b/test/classes/PMA_Footer_test.php index c028c508b7..f72e755f8a 100644 --- a/test/classes/PMA_Footer_test.php +++ b/test/classes/PMA_Footer_test.php @@ -58,6 +58,7 @@ class PMA_Footer_Test extends PHPUnit_Framework_TestCase unset($GLOBALS['error_message']); unset($GLOBALS['sql_query']); $GLOBALS['error_handler'] = new PMA_Error_Handler(); + unset($_POST); } /**