From: Nicolas Boisselier Date: Sat, 10 Feb 2018 02:07:48 +0000 (+0000) Subject: lib/php/db/table.php X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=cad0ea7a6de3a160dcb637c3e5aa6db689530d95;p=nb.git lib/php/db/table.php --- 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]);