From cad0ea7a6de3a160dcb637c3e5aa6db689530d95 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Sat, 10 Feb 2018 02:07:48 +0000 Subject: [PATCH] lib/php/db/table.php --- lib/php/db/field.php | 2 +- lib/php/db/table.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/php/db/field.php b/lib/php/db/field.php index f49b4be1..eec74ac4 100644 --- a/lib/php/db/field.php +++ b/lib/php/db/field.php @@ -139,7 +139,7 @@ class field extends nb { } # NB 09.02.18: needed ? - $value = htmlspecialchars($value); + #$value = htmlspecialchars($value); $html .= '<'.$tag .' name="'.$this->preffix.$this->name.$suff.'"' # NB 06.02.18 .' id="'.$this->name.'"' diff --git a/lib/php/db/table.php b/lib/php/db/table.php index 1d0bdf7d..ef7206cb 100644 --- a/lib/php/db/table.php +++ b/lib/php/db/table.php @@ -620,7 +620,7 @@ Class Table extends nb { } if (!$add and $field->key) { - echo $this->key_preff.''.NB_EOL; + echo ''.NB_EOL; } echo $field->html_edit($row[$name]); -- 2.47.3