diff --git a/ChangeLog b/ChangeLog index 495a7fcdd5..a51a1f3eab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -47,6 +47,7 @@ phpMyAdmin - ChangeLog + Add pmahomme icon credits (FamFamFam silk icon set) - bug #4064 Table structure statistics "Space usage" caption too small for l10n - bug #4051 Wrong tabindex when inserting rows +- bug #4066 varchar field not truncated in table browse mode 4.0.5.0 (2013-08-04) - bug #3977 Not detected configuration storage diff --git a/libraries/DisplayResults.class.php b/libraries/DisplayResults.class.php index bd69378184..89dbfaa5c3 100644 --- a/libraries/DisplayResults.class.php +++ b/libraries/DisplayResults.class.php @@ -3852,8 +3852,8 @@ class PMA_DisplayResults // (unless it's a link-type transformation) if ($GLOBALS['PMA_String']->strlen($column) > $GLOBALS['cfg']['LimitChars'] && ($_SESSION['tmp_user_values']['display_text'] == self::DISPLAY_PARTIAL_TEXT) - && gettype($transformation_plugin) == "object" - && ! strpos($transformation_plugin->getName(), 'Link') === true + && ! (gettype($transformation_plugin) == "object" + && strpos($transformation_plugin->getName(), 'Link') !== false) ) { $column = $GLOBALS['PMA_String']->substr( $column, 0, $GLOBALS['cfg']['LimitChars']