Merge remote-tracking branch 'origin/master'

This commit is contained in:
Michal Čihař 2012-03-10 17:41:11 +01:00
commit 4806cf17cb

View File

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