]> git.nbdom.net Git - nb.git/commitdiff
lib/php/db/table.php
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Sat, 10 Feb 2018 02:07:48 +0000 (02:07 +0000)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Sat, 10 Feb 2018 02:07:48 +0000 (02:07 +0000)
lib/php/db/field.php
lib/php/db/table.php

index f49b4be17b74397a4c45c39df9f9c59ab456d13a..eec74ac4046ba6453d05e89810749ddacdb481ab 100644 (file)
@@ -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.'"'
index 1d0bdf7d558f105dcafebe20fad071136c7cd05b..ef7206cb5c7827bd6b67f791a33e3f41b10f2679 100644 (file)
@@ -620,7 +620,7 @@ Class Table extends nb {
                                }
 
                                if (!$add and $field->key) {
-                                       echo $this->key_preff.'<input name="'.$this->key_preff.$name.'" value="'.$row[$name].'" type="hidden" />'.NB_EOL;
+                                       echo '<input name="'.$this->key_preff.$name.'" value="'.$row[$name].'" type="hidden" />'.NB_EOL;
                                }
 
                                echo $field->html_edit($row[$name]);