Fix. Pass params in query call in do_not_disturb.lua (#2160)

This commit is contained in:
Alexey Melnichuk
2016-11-23 11:59:58 +03:00
committed by FusionPBX
parent eafabdb2ca
commit 5a8b6bb332

View File

@@ -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