Fix. Use preloaded dialplan more then once. (#2986)
This commit is contained in:
committed by
FusionPBX
parent
db034258be
commit
fab5b5a970
@@ -630,8 +630,8 @@ local function apply_vars(actions, fields)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function wrap_dbh(t)
|
local function wrap_dbh(t)
|
||||||
local i = 0
|
|
||||||
return {query = function(self, sql, params, callback)
|
return {query = function(self, sql, params, callback)
|
||||||
|
local i = 0
|
||||||
while true do
|
while true do
|
||||||
i = i + 1
|
i = i + 1
|
||||||
local row = t[i]
|
local row = t[i]
|
||||||
|
|||||||
Reference in New Issue
Block a user