From d37cd4094542ac9f4e9369864f0c82adc173c9ed Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 13 Aug 2006 15:43:37 +0000 Subject: [PATCH] bug #1519799, imagelink error --- ChangeLog | 3 +++ libraries/display_tbl.lib.php | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bea3205b2..de9a26287 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - ChangeLog $Id$ $Source$ +2006-08-13 Marc Delisle + * library/display_tbl.lib.php: bug #1519799, imagelink error + 2006-08-12 Marc Delisle * libraries/sqlparser.data.php: bug #1492772, parsing EXTRACT YEAR_MONTH (there were sorting errors in the function names array) diff --git a/libraries/display_tbl.lib.php b/libraries/display_tbl.lib.php index b49685ea4..d1f828877 100644 --- a/libraries/display_tbl.lib.php +++ b/libraries/display_tbl.lib.php @@ -1354,7 +1354,8 @@ function PMA_displayTableBody(&$dt_result, &$is_display, $map, $analyzed_sql) { $relation_id = $row[$i]; // nijel: Cut all fields to $GLOBALS['cfg']['LimitChars'] - if (PMA_strlen($row[$i]) > $GLOBALS['cfg']['LimitChars'] && ($dontlimitchars != 1)) { + // lem9: (unless it's a link-type transformation) + if (PMA_strlen($row[$i]) > $GLOBALS['cfg']['LimitChars'] && ($dontlimitchars != 1) && !strpos($transform_function, 'link') === true) { $row[$i] = PMA_substr($row[$i], 0, $GLOBALS['cfg']['LimitChars']) . '...'; }