From ad8f4cea4f418f0b4e85616ea5d58d10a1aa77cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 29 May 2012 14:32:16 +0200 Subject: [PATCH] Need to have type without length here --- tbl_select.php | 2 +- tbl_zoom_select.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tbl_select.php b/tbl_select.php index 4ce1cbc548..a0a7ac9b45 100644 --- a/tbl_select.php +++ b/tbl_select.php @@ -137,7 +137,7 @@ echo PMA_generateHtmlTabs(PMA_tbl_getSubTabs(), $url_params, 'topmenu2'); '; $html .= $GLOBALS['PMA_Types']->getTypeOperatorsHtml( - $fields_type[$key], + preg_replace('@\(.*@s', '', $fields_type[$i]), $fields_null[$key] ); $html .= ''; @@ -251,7 +251,7 @@ for ($i = 0; $i < 4; $i++) {