Update call_flow.lua boolean

This commit is contained in:
FusionPBX
2025-09-20 18:27:54 -06:00
committed by GitHub
parent 98b66c37a6
commit 5e017a7154

View File

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