Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
4806cf17cb
@ -19,6 +19,20 @@ if (!PMA_DRIZZLE) {
|
||||
}
|
||||
require './libraries/build_html_for_db.lib.php';
|
||||
|
||||
/**
|
||||
* Sets globals from $_POST
|
||||
*/
|
||||
$post_params = array(
|
||||
'mult_btn',
|
||||
'query_type',
|
||||
'selected'
|
||||
);
|
||||
foreach ($post_params as $one_post_param) {
|
||||
if (isset($_POST[$one_post_param])) {
|
||||
$GLOBALS[$one_post_param] = $_POST[$one_post_param];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* avoids 'undefined index' errors
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user