diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php index b6f09040..2556f61e 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -436,7 +436,7 @@ function input($field, $value, $function) { } else { // int(3) is only a display hint $maxlength = (!ereg('int', $field["type"]) && preg_match('~^([0-9]+)(,([0-9]+))?$~', $field["length"], $match) ? ($match[1] + ($match[3] ? 1 : 0) + ($match[2] && !$field["unsigned"] ? 1 : 0)) : ($types[$field["type"]] ? $types[$field["type"]] + ($field["unsigned"] ? 0 : 1) : 0)); - echo ""; + echo " 20 ? " size='40'" : "") . "$onchange>"; } } }