]> git.nbdom.net Git - nb.git/commitdiff
lib/php/db.php
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Thu, 24 Oct 2019 17:22:21 +0000 (18:22 +0100)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Thu, 24 Oct 2019 17:22:21 +0000 (18:22 +0100)
lib/php/db/table.php

index 4787838120eaf00dfa7dc5efdae1751a4f9b5f99..4d4f074daaacfa7f75b4e8806d39ba09f07ba3a3 100644 (file)
@@ -1779,7 +1779,7 @@ Class Table extends nb {
 
                $sql = 
                        $insert_word.' INTO '. $this->sql_name() . ' (' . join(',',array_values($sql_names)).')'
-                       .' VALUES (' . join(',',ar_map('":$a"',array_keys($fields))) . ')'
+                       .' VALUES (' . join(',',$this->ar_map('":$a"',array_keys($fields))) . ')'
                ;
 
                if (!empty($info['fct'])) {