From c24dd79c22cdaa35d0752fe8f272252d554573dd Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Mon, 11 Nov 2019 12:23:41 +0100 Subject: [PATCH] Add id="" to cells with failed inline edit (bug #708) --- adminer/select.inc.php | 5 +++-- changes.txt | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/adminer/select.inc.php b/adminer/select.inc.php index 403e0453..2ea056a9 100644 --- a/adminer/select.inc.php +++ b/adminer/select.inc.php @@ -436,12 +436,13 @@ if (!$columns && support("table")) { $value = $_POST["val"][$unique_idf][bracket_escape($key)]; $editable = !is_array($row[$key]) && is_utf8($val) && $rows[$n][$key] == $row[$key] && !$functions[$key]; $text = preg_match('~text|lob~', $field["type"]); + echo "" . ($text ? "" : ""); + echo ">" . ($text ? "" : ""); } else { $long = strpos($val, ""); - echo "$val" ; diff --git a/changes.txt b/changes.txt index 15207441..89d0ca68 100644 --- a/changes.txt +++ b/changes.txt @@ -1,4 +1,5 @@ Adminer 4.7.5-dev: +Add id="" to cells with failed inline edit (bug #708) PostgreSQL, Oracle: Set schema for EXPLAIN queries in SQL command (bug #706) Adminer 4.7.4 (released 2019-10-22):