diff options
author | Marc Delisle <marc@infomarc.info> | 2012-07-04 19:07:01 +0400 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2012-07-04 19:07:01 +0400 |
commit | 5223035aeb27b3ca12d259841ae50c2168354fec (patch) | |
tree | eb4108066cf4683faa407435074c10c5fa16cf47 /db_qbe.php | |
parent | 75e283ab9c20a619c7dc8ff01dd22bd4e2e0aa1a (diff) |
Missing global variables
Diffstat (limited to 'db_qbe.php')
-rw-r--r-- | db_qbe.php | 14 |
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(); |