[Phpmyadmin-git] [SCM] phpMyAdmin branch, QA_3_4, updated. RELEASE_3_4_3RC1-20-g9129444

Michal Čihař nijel at users.sourceforge.net
Mon Jun 27 16:09:43 CEST 2011


The branch, QA_3_4 has been updated
       via  9129444381fef0d9b57466219f21deae8fc95582 (commit)
      from  31df8ebb5dd444fc40d566407d9b2a00eee8d1b9 (commit)


- Log -----------------------------------------------------------------
commit 9129444381fef0d9b57466219f21deae8fc95582
Author: Michal Čihař <mcihar at suse.cz>
Date:   Mon Jun 27 16:09:22 2011 +0200

    Avoid double escaping

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

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

diff --git a/tbl_structure.php b/tbl_structure.php
index 077dbcf..7d380b4 100644
--- a/tbl_structure.php
+++ b/tbl_structure.php
@@ -252,7 +252,7 @@ while ($row = PMA_DBI_fetch_assoc($fields_rs)) {
         // for the case ENUM('–','“')
         $type         = htmlspecialchars($type);
         if(strlen($type) > $GLOBALS['cfg']['LimitChars']) {
-            $type = '<abbr title="' . htmlspecialchars($type) . '">' . substr($type, 0, $GLOBALS['cfg']['LimitChars']) . '</abbr>';
+            $type = '<abbr title="' . $type . '">' . substr($type, 0, $GLOBALS['cfg']['LimitChars']) . '</abbr>';
         }
 
         $type_nowrap  = '';


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list