diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php index 6bafa508..86923205 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -743,7 +743,7 @@ function input($field, $value, $function) { // int(3) is only a display hint $maxlength = (!ereg('int', $field["type"]) && preg_match('~^(\\d+)(,(\\d+))?$~', $field["length"], $match) ? ((ereg("binary", $field["type"]) ? 2 : 1) * $match[1] + ($match[3] ? 1 : 0) + ($match[2] && !$field["unsigned"] ? 1 : 0)) : ($types[$field["type"]] ? $types[$field["type"]] + ($field["unsigned"] ? 0 : 1) : 0)); // type='date' and type='time' display localized value which may be confusing, type='datetime' uses 'T' as date and time separator - echo " 20 ? " size='40'" : "") . "$attrs>"; + echo " 20 ? " size='40'" : "") . "$attrs>"; } } } diff --git a/changes.txt b/changes.txt index d2c55070..38fd9a5c 100644 --- a/changes.txt +++ b/changes.txt @@ -1,5 +1,6 @@ Adminer 3.6.3-dev: Treat Meta key same as Ctrl +Don't use type="number" for decimal numbers Adminer 3.6.2 (released 2012-12-21): Edit values by Ctrl+click instead of double click