From 08a956cf2a1cd744ea7a5e13d1a952fb09400b08 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Sun, 23 Feb 2025 13:28:21 +0100 Subject: [PATCH] Offer original values in multi-row editing (regression from 4.16.0) --- adminer/include/functions.inc.php | 6 +++++- changes.txt | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php index 196f70be..5fae0553 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -202,7 +202,11 @@ function optionlist($options, $selected = null, $use_keys = false) { $opts = $v; } foreach ($opts as $key => $val) { - $return .= '' . h($val); + $return .= '' . h($val) + ; } if (is_array($v)) { $return .= ''; diff --git a/changes.txt b/changes.txt index a4f76d67..0e4e0564 100644 --- a/changes.txt +++ b/changes.txt @@ -1,5 +1,6 @@ Adminer 4.17.0-dev: Hide index column options by default +Offer original values in multi-row editing (regression from 4.16.0) MySQL, PostgreSQL, MS SQL: Support CHECK constraint MySQL: Don't offer empty enum value in edit PostgreSQL: Link user defined types