From: Jakub Vrana Date: Tue, 18 Mar 2025 10:00:57 +0000 (+0100) Subject: Table-less drivers: display empty field only without fields() X-Git-Tag: v5.1.0~148 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=4e4f2800617553eda0335f4b75ed012854ffe235;p=adminer.git Table-less drivers: display empty field only without fields() --- diff --git a/adminer/include/html.inc.php b/adminer/include/html.inc.php index 5fdfe56b..dee59aa7 100644 --- a/adminer/include/html.inc.php +++ b/adminer/include/html.inc.php @@ -494,7 +494,7 @@ function edit_form($table, $fields, $row, $update) { } echo "\n"; } - if (!support("table")) { + if (!support("table") && !fields($table)) { echo "" . "" . script("qsl('input').oninput = fieldChange;")