mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update call_flow.lua boolean
This commit is contained in:
@@ -62,8 +62,8 @@ if not call_flow_uuid then
|
||||
end
|
||||
|
||||
--get the call flow details
|
||||
local sql = "SELECT * FROM v_call_flows where call_flow_uuid = :call_flow_uuid"
|
||||
-- .. "and call_flow_enabled = 'true'"
|
||||
local sql = "SELECT * FROM v_call_flows where call_flow_uuid = :call_flow_uuid ";
|
||||
sql = sql .. "and call_flow_enabled = true "
|
||||
local params = {call_flow_uuid = call_flow_uuid};
|
||||
--log.notice("SQL: %s", sql);
|
||||
dbh:query(sql, params, function(row)
|
||||
|
||||
Reference in New Issue
Block a user