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

@@ -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";
?>