diff options
author | Michal Čihař <mcihar@suse.cz> | 2012-05-29 16:32:16 +0400 |
---|---|---|
committer | Michal Čihař <mcihar@suse.cz> | 2012-05-29 16:32:16 +0400 |
commit | ad8f4cea4f418f0b4e85616ea5d58d10a1aa77cc (patch) | |
tree | d03278a58953bd398fcaac7e37d3ca9c860a4466 /tbl_zoom_select.php | |
parent | 1ec465901b87aef11ea048afefd89758aac05a0b (diff) |
Need to have type without length here
Diffstat (limited to 'tbl_zoom_select.php')
-rw-r--r-- | tbl_zoom_select.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tbl_zoom_select.php b/tbl_zoom_select.php index 2ef5e410cd..ba568e1102 100644 --- a/tbl_zoom_select.php +++ b/tbl_zoom_select.php @@ -112,7 +112,7 @@ if (isset($_REQUEST['change_tbl_info']) && $_REQUEST['change_tbl_info'] == true) // HTML for operators $html = '<select name="zoomFunc[]">'; $html .= $GLOBALS['PMA_Types']->getTypeOperatorsHtml( - $fields_type[$key], + preg_replace('@\(.*@s', '', $fields_type[$i]), $fields_null[$key] ); $html .= '</select>'; @@ -251,7 +251,7 @@ for ($i = 0; $i < 4; $i++) { </tr> <tr><td> <input type="hidden" name="types[<?php echo $i; ?>]" id="types_<?php echo $i; ?>" - <?php + <?php if (isset($_POST['types'][$i])) { echo 'value="' . $_POST['types'][$i] . '"'; } |