POST parameter 'db' is already written to GLOBALS in libraries/common.inc.php

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
Madhura Jayaratne 2015-06-18 14:13:12 +05:30
parent a3c3c57261
commit 6d8bceea8a

View File

@ -23,20 +23,9 @@ require_once 'libraries/pmd_common.php';
require_once 'libraries/plugin_interface.lib.php';
/**
* get all the export options and verify
* call and include the appropriate Schema Class depending on $export_type
* Include the appropriate Schema Class depending on $export_type
* default is PDF
*/
$post_params = array(
'db'
);
foreach ($post_params as $one_post_param) {
if (isset($_REQUEST[$one_post_param])) {
$GLOBALS[$one_post_param] = $_REQUEST[$one_post_param];
}
}
PMA_processExportSchema($_REQUEST['export_type']);
/**