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:
authorMarc Delisle <marc@infomarc.info>2012-05-25 01:02:16 +0400
committerMarc Delisle <marc@infomarc.info>2012-05-25 01:02:16 +0400
commit5229bc01a0a2a60e8da35a60f8a31584772d66c8 (patch)
tree1c5fcaf24500db03ba051baab605e7d4f81f6cd3 /tbl_zoom_select.php
parent3044b490947a94aa70b4b6f3171a8ced2bc7b25b (diff)
The column types were not available to the js level
Diffstat (limited to 'tbl_zoom_select.php')
-rw-r--r--tbl_zoom_select.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/tbl_zoom_select.php b/tbl_zoom_select.php
index c8c9901988..2ef5e410cd 100644
--- a/tbl_zoom_select.php
+++ b/tbl_zoom_select.php
@@ -250,7 +250,12 @@ for ($i = 0; $i < 4; $i++) {
<td></td>
</tr>
<tr><td>
- <input type="hidden" name="types[<?php echo $i; ?>]" id="types_<?php echo $i; ?>" />
+ <input type="hidden" name="types[<?php echo $i; ?>]" id="types_<?php echo $i; ?>"
+ <?php
+ if (isset($_POST['types'][$i])) {
+ echo 'value="' . $_POST['types'][$i] . '"';
+ }
+ ?> />
<input type="hidden" name="collations[<?php echo $i;?>]" id="collations_<?php echo $i; ?>" />
</td></tr>
<?php