Fix. Use preloaded dialplan more then once. (#2986)

This commit is contained in:
Alexey Melnichuk
2018-02-10 23:27:07 +03:00
committed by FusionPBX
parent db034258be
commit fab5b5a970

View File

@@ -630,8 +630,8 @@ local function apply_vars(actions, fields)
end
local function wrap_dbh(t)
local i = 0
return {query = function(self, sql, params, callback)
local i = 0
while true do
i = i + 1
local row = t[i]