From 58ff31a15d400c337131ef9a8f103b70c4bcb698 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Sat, 31 Jan 2026 23:26:10 +0100 Subject: [PATCH] Save bytes --- adminer/include/html.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/include/html.inc.php b/adminer/include/html.inc.php index 0a4b22f7..49ae8f86 100644 --- a/adminer/include/html.inc.php +++ b/adminer/include/html.inc.php @@ -229,7 +229,7 @@ function input(array $field, $value, ?string $function, ?bool $autofocus = false $field["type"] = "enum"; $field["length"] = $enums; } - $disabled = stripos($field["default"], "GENERATED ALWAYS AS ") === 0 ? " disabled=''" : ""; + $disabled = stripos($field["default"], "GENERATED ALWAYS AS ") === 0 ? " disabled" : ""; $attrs = " name='fields[$name]" . ($field["type"] == "enum" || $field["type"] == "set" ? "[]" : "") . "'$disabled" . ($autofocus ? " autofocus" : ""); echo driver()->unconvertFunction($field) . " "; $table = $_GET["edit"] ?: $_GET["select"];