From: Nicolas Boisselier Date: Thu, 24 Oct 2019 17:22:21 +0000 (+0100) Subject: lib/php/db.php X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=3618acce573b7ba7b3450ec322cbd54dddce2d12;p=nb.git lib/php/db.php --- diff --git a/lib/php/db/table.php b/lib/php/db/table.php index 47878381..4d4f074d 100644 --- a/lib/php/db/table.php +++ b/lib/php/db/table.php @@ -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'])) {