fixed bad field size/maxsize

This commit is contained in:
Loïc Chapeaux
2001-09-20 18:04:48 +00:00
parent 30a510524b
commit ebd9c3939f
2 changed files with 3 additions and 2 deletions

View File

@@ -17,6 +17,7 @@ $Source$
* db_details.php3; db_printview.php3; tbl_properties.php3;
tbl_printview.php3: added the $cfgShowStats setting.
* lang/italian.inc.php3: updated thanks to Pietro Danesi.
* tbl_change.php3: fixed bad field size/maxsize.
2001-09-19 Marc Delisle <lem9@users.sourceforge.net>
* tbl_properties.php3, db_details.php3, lang/*: start to merge new messages

View File

@@ -332,8 +332,8 @@ for ($i = 0; $i < $fields_cnt; $i++) {
if ($len < 4) {
$fieldsize = $maxlength = 4;
} else {
$fieldsize = $len;
$maxlength = (($len > 40) ? 40 : $len);
$fieldsize = (($len > 40) ? 40 : $len);
$maxlength = $len;
}
echo "\n";
?>