diff --git a/ChangeLog b/ChangeLog index 5e3eaafe4e..962d5c5a79 100644 --- a/ChangeLog +++ b/ChangeLog @@ -56,6 +56,7 @@ phpMyAdmin - ChangeLog - bug #4375 Group two DB, one's name is the prefix of the other one - bug #4070 Confusing database/table grouping - bug #4366 Creating Index doesn't update index-list +- bug #4080 phpmyadmin refuses to show tables with enums containing special data 4.1.14.0 (2014-04-26) - bug #4365 Creating bookmark with multiple queries not working diff --git a/libraries/Util.class.php b/libraries/Util.class.php index 72bcb6ad86..962b1e7cda 100644 --- a/libraries/Util.class.php +++ b/libraries/Util.class.php @@ -3028,7 +3028,9 @@ class PMA_Util $displayed_type = htmlspecialchars($printtype); if (strlen($printtype) > $GLOBALS['cfg']['LimitChars']) { $displayed_type = ''; - $displayed_type .= substr($printtype, 0, $GLOBALS['cfg']['LimitChars']); + $displayed_type .= $GLOBALS['PMA_String']->substr( + $printtype, 0, $GLOBALS['cfg']['LimitChars'] + ); $displayed_type .= ''; }