diff --git a/tbl_structure.php b/tbl_structure.php index 7f71a4c97..b1dc34424 100644 --- a/tbl_structure.php +++ b/tbl_structure.php @@ -243,7 +243,7 @@ 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 = '' . substr($type, 0, $GLOBALS['cfg']['LimitChars']) . ''; } $type_nowrap = '';