Merge remote-tracking branch 'origin/master'

This commit is contained in:
Michal Čihař 2012-04-17 12:52:54 +02:00
commit f0c8b48e9d

View File

@ -17,6 +17,25 @@ if (! $cfgRelation['designerwork']) {
PMD_err_sav();
}
/**
* Sets globals from $_POST
*/
$post_params = array(
'IS_AJAX',
'die_save_pos',
'server',
't_h',
't_v',
't_x',
't_y'
);
foreach ($post_params as $one_post_param) {
if (isset($_POST[$one_post_param])) {
$GLOBALS[$one_post_param] = $_POST[$one_post_param];
}
}
foreach ($t_x as $key => $value) {
$KEY = empty($IS_AJAX) ? urldecode($key) : $key; // table name decode (post PDF exp/imp)
list($DB,$TAB) = explode(".", $KEY);