]> git.nbdom.net Git - nb.git/commitdiff
actualy doing nothing kepp date
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Fri, 21 Jul 2023 22:38:50 +0000 (23:38 +0100)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Fri, 21 Jul 2023 22:38:50 +0000 (23:38 +0100)
lib/php/db/field.php

index 7be51090de5783785acc0c7d9bc14c4d230618c4..b71000a93f97e6c4befb48e3c83cc1ab52903eb3 100644 (file)
@@ -181,6 +181,7 @@ class field extends nb {
                                }
 
                                # Tag
+                               #if ($type == 'date') $type = 'text'; # NB 21.07.23: cant get it right when update db  
        $h .= '<'.$tag
                .' name="'.$this->preffix.$this->name . ($multi ? '[]' : '') . '"'
                .( ($size and $tag != 'textarea') ? ' size="'.$size.'"' : '')