Truncates long enum and set values
This commit is contained in:
@@ -242,6 +242,9 @@ while ($row = PMA_DBI_fetch_assoc($fields_rs)) {
|
||||
|
||||
// for the case ENUM('–','“')
|
||||
$type = htmlspecialchars($type);
|
||||
if(strlen($type) > $GLOBALS['cfg']['LimitChars']) {
|
||||
$type = substr($type, 0, $GLOBALS['cfg']['LimitChars']);
|
||||
}
|
||||
|
||||
$type_nowrap = '';
|
||||
|
||||
|
Reference in New Issue
Block a user