bug #1519799, imagelink error

This commit is contained in:
Marc Delisle
2006-08-13 15:46:07 +00:00
parent 7f337a561a
commit 2c30b0d955
2 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - ChangeLog
$Id$ $Id$
$Source$ $Source$
2006-08-13 Marc Delisle <lem9@users.sourceforge.net>
* libraries/display_tbl.lib.php: bug #1519799, imagelink error
2006-08-12 Marc Delisle <lem9@users.sourceforge.net> 2006-08-12 Marc Delisle <lem9@users.sourceforge.net>
* libraries/sqlparser.data.php: bug #1492772, parsing EXTRACT YEAR_MONTH * libraries/sqlparser.data.php: bug #1492772, parsing EXTRACT YEAR_MONTH
(there were sorting errors in the function names array) (there were sorting errors in the function names array)

View File

@@ -1354,7 +1354,8 @@ function PMA_displayTableBody(&$dt_result, &$is_display, $map, $analyzed_sql) {
$relation_id = $row[$i]; $relation_id = $row[$i];
// nijel: Cut all fields to $GLOBALS['cfg']['LimitChars'] // 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']) . '...'; $row[$i] = PMA_substr($row[$i], 0, $GLOBALS['cfg']['LimitChars']) . '...';
} }