From: Jakub Vrana Date: Mon, 11 Nov 2019 11:23:41 +0000 (+0100) Subject: Add id="" to cells with failed inline edit (bug #708) X-Git-Tag: v4.7.5~10 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=c24dd79c22cdaa35d0752fe8f272252d554573dd;p=adminer.git Add id="" to cells with failed inline edit (bug #708) --- 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):