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