Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix setting display column

  • Loading branch information...
commit 8d3104e99f8b19fd671f75e9e78d85b6772f0ea6 1 parent 941bb57
@madhuracj madhuracj authored
Showing with 12 additions and 1 deletion.
  1. +12 −1 pmd_display_field.php
View
13 pmd_display_field.php
@@ -13,6 +13,17 @@
require_once 'libraries/pmd_common.php';
+$post_params = array(
+ 'T',
+ 'F'
+);
+
+foreach ($post_params as $one_post_param) {
+ if (isset($_POST[$one_post_param])) {
+ $GLOBALS[$one_post_param] = $_POST[$one_post_param];
+ }
+}
+
$table = $T;
$display_field = $F;
@@ -46,5 +57,5 @@
header("Content-Type: text/xml; charset=utf-8");
header("Cache-Control: no-cache");
-die("<root act='save_pos' return=__('Modifications have been saved')></root>");
+die("<root act='save_pos' return='" . __('Modifications have been saved') . "'></root>");
?>
Please sign in to comment.
Something went wrong with that request. Please try again.