From ad237d307121233227a8ead7a18609ba46401a9a Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Tue, 6 Oct 2009 11:38:07 +0000 Subject: [PATCH] Enlarge fields for long strings git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1171 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- adminer/include/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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>"; } } } -- 2.39.5