diff options
-rw-r--r-- | lib/dblib.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dblib.lua b/lib/dblib.lua index c0414f1..0229f60 100644 --- a/lib/dblib.lua +++ b/lib/dblib.lua @@ -136,6 +136,8 @@ _luadb = { for k, v in pairs(fields) do if not first then q = q .. ", " + else + first = false end q = q .. "`" .. db.sql_escape(k) .. "` " .. v end |