Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2011-07-15 21:43:00 +0400
committerMadhura Jayaratne <madhura.cj@gmail.com>2011-07-15 21:43:00 +0400
commit166b571964d6c3513359512b8eef83584f2f9ddf (patch)
tree0d8853d27c33250f4ad14272e0b46267f5310a02 /gis_data_editor.php
parent56090dd46f34e485199541d1262dc70c85001ede (diff)
Non JS version does not need this parameters.
Diffstat (limited to 'gis_data_editor.php')
-rw-r--r--gis_data_editor.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/gis_data_editor.php b/gis_data_editor.php
index da5e5795f6..e86abb735e 100644
--- a/gis_data_editor.php
+++ b/gis_data_editor.php
@@ -75,8 +75,12 @@ if(isset($_REQUEST['get_gis_editor']) && $_REQUEST['get_gis_editor'] == true) {
<div id="gis_data_editor">
<h3><?php printf(__('Value for the column "%s"'), htmlspecialchars($_REQUEST['field'])); ?></h3>
<?php echo('<input type="hidden" name="field" value="' . htmlspecialchars($_REQUEST['field']) . '">');
- echo('<input type="hidden" name="input_name" value="' . htmlspecialchars($_REQUEST['input_name']) . '">');
- echo('<input type="hidden" name="null_checkbox_name" value="' . htmlspecialchars($_REQUEST['null_checkbox_name']) . '">');
+ if (isset($_REQUEST['input_name'])) {
+ echo('<input type="hidden" name="input_name" value="' . htmlspecialchars($_REQUEST['input_name']) . '">');
+ }
+ if (isset($_REQUEST['null_checkbox_name'])) {
+ echo('<input type="hidden" name="null_checkbox_name" value="' . htmlspecialchars($_REQUEST['null_checkbox_name']) . '">');
+ }
echo PMA_generate_common_hidden_inputs();
?>
<div id="placeholder">