fixed bug #461623 (wrong maxlength)

This commit is contained in:
Loïc Chapeaux
2001-09-15 08:49:46 +00:00
parent 60c4f1c0a9
commit 9dbf903f78

View File

@@ -348,8 +348,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";
?>