Merge remote-tracking branch 'origin/master'

This commit is contained in:
Michal Čihař 2012-07-04 17:07:18 +02:00
commit 9a94bf19a8

View File

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