diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php index 8bde16d4..43c04fdf 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -890,6 +890,9 @@ function input($field, $value, $function) { $input = $adminer->editInput($_GET["edit"], $field, $attrs, $value); // usage in call is without a table if ($input != "") { echo $input; + } elseif (preg_match('~bool~', $field["type"])) { + echo "" . + ""; } elseif ($field["type"] == "set") { //! 64 bits preg_match_all("~'((?:[^']|'')*)'~", $field["length"], $matches); foreach ($matches[1] as $i => $val) {