Missing global variables
This commit is contained in:
parent
75e283ab9c
commit
5223035aeb
14
db_qbe.php
14
db_qbe.php
@ -11,6 +11,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
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user