Fix. Pass `params` in query call in do_not_disturb.lua (#2160)
This commit is contained in:
parent
eafabdb2ca
commit
5a8b6bb332
|
|
@ -191,7 +191,7 @@
|
|||
if (debug["sql"]) then
|
||||
freeswitch.consoleLog("notice", "[do_not_disturb] "..sql.."; params:" .. json.encode(params) .. "\n");
|
||||
end
|
||||
dbh:query(sql);
|
||||
dbh:query(sql, params);
|
||||
end);
|
||||
|
||||
--clear the cache
|
||||
|
|
|
|||
Loading…
Reference in New Issue