Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2012-07-04 19:07:01 +0400
committerMarc Delisle <marc@infomarc.info>2012-07-04 19:07:01 +0400
commit5223035aeb27b3ca12d259841ae50c2168354fec (patch)
treeeb4108066cf4683faa407435074c10c5fa16cf47 /db_qbe.php
parent75e283ab9c20a619c7dc8ff01dd22bd4e2e0aa1a (diff)
Missing global variables
Diffstat (limited to 'db_qbe.php')
-rw-r--r--db_qbe.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/db_qbe.php b/db_qbe.php
index 0f5d9054f1..e429193896 100644
--- a/db_qbe.php
+++ b/db_qbe.php
@@ -12,6 +12,20 @@
require_once 'libraries/common.inc.php';
/**
+ * Sets globals from $_POST
+ */
+$post_params = array(
+ 'Field',
+ 'Show',
+ 'Sort'
+);
+foreach ($post_params as $one_post_param) {
+ if (isset($_POST[$one_post_param])) {
+ $GLOBALS[$one_post_param] = $_POST[$one_post_param];
+ }
+}
+
+/**
* Gets the relation settings
*/
$cfgRelation = PMA_getRelationsParam();