[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_3_7-10163-g8417db5

Michal Čihař nijel at users.sourceforge.net
Thu Sep 16 16:03:01 CEST 2010


The branch, master has been updated
       via  8417db5866925779c053c48f9c9fc046a891d83a (commit)
      from  156c6d31e8c33087d0eb710f9beead9cef54b8e9 (commit)


- Log -----------------------------------------------------------------
commit 8417db5866925779c053c48f9c9fc046a891d83a
Author: Michal Čihař <mcihar at novell.com>
Date:   Thu Sep 16 16:02:49 2010 +0200

    rfe #2956556 [interface] Allow to wrap enum values.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog         |    1 +
 tbl_structure.php |    3 ++-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9c36632..7c3e4fe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -115,6 +115,7 @@
 - [core] Force generating of new session on login
 - rfe #1105678 [interface] Drop page-break-before as it is useless for smaller
   tables.
+- rfe #2956556 [interface] Allow to wrap enum values.
 
 3.3.8.0 (not yet released)
 - bug #3059311 [import] BIGINT field type added to table analysis
diff --git a/tbl_structure.php b/tbl_structure.php
index 7c59d98..f33438e 100644
--- a/tbl_structure.php
+++ b/tbl_structure.php
@@ -245,7 +245,8 @@ while ($row = PMA_DBI_fetch_assoc($fields_rs)) {
     $extracted_fieldspec = PMA_extractFieldSpec($row['Type']);
 
     if ('set' == $extracted_fieldspec['type'] || 'enum' == $extracted_fieldspec['type']) {
-        $type         = $extracted_fieldspec['type'] . '(' . $extracted_fieldspec['spec_in_brackets'] . ')';
+        $type         = $extracted_fieldspec['type'] . '(' .
+            str_replace("','", "', '", $extracted_fieldspec['spec_in_brackets']) . ')';
 
         // for the case ENUM('–','“')
         $type         = htmlspecialchars($type);


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list