Really show full field definition, not just "full text" text

This commit is contained in:
Michal Čihař
2011-06-27 13:55:54 +02:00
parent 4bec3b3bee
commit 79d924add8

View File

@@ -252,7 +252,7 @@ while ($row = PMA_DBI_fetch_assoc($fields_rs)) {
// for the case ENUM('–','“') // for the case ENUM('–','“')
$type = htmlspecialchars($type); $type = htmlspecialchars($type);
if(strlen($type) > $GLOBALS['cfg']['LimitChars']) { if(strlen($type) > $GLOBALS['cfg']['LimitChars']) {
$type = '<abbr title="full text">' . substr($type, 0, $GLOBALS['cfg']['LimitChars']) . '</abbr>'; $type = '<abbr title="' . htmlspecialchars($type) . '">' . substr($type, 0, $GLOBALS['cfg']['LimitChars']) . '</abbr>';
} }
$type_nowrap = ''; $type_nowrap = '';