From: Jakub Vrana Date: Mon, 31 Mar 2025 15:14:02 +0000 (+0200) Subject: Select: Align numeric null right X-Git-Tag: v5.1.1~31 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=5cfd3f422ca3e1c7ff694d69da4e27a2f0ead42c;p=adminer.git Select: Align numeric null right --- diff --git a/adminer/select.inc.php b/adminer/select.inc.php index 38912b72..0fbe7ba4 100644 --- a/adminer/select.inc.php +++ b/adminer/select.inc.php @@ -456,7 +456,7 @@ if (!$columns && support("table")) { $value = idx(idx($_POST["val"], $unique_idf), bracket_escape($key)); $editable = !is_array($row[$key]) && is_utf8($val) && $rows[$n][$key] == $row[$key] && !$functions[$key] && !$field["generated"]; $text = preg_match('~text|json|lob~', $field["type"]); - echo "NULL' || is_numeric(strip_tags($val))) ? " class='number'" : ""); if (($_GET["modify"] && $editable) || $value !== null) { $h_value = h($value !== null ? $value : $row[$key]); echo ">" . ($text ? "" : "");