Fixes attempt to concat boolean value

Fixes #5722
This commit is contained in:
Simone Mainardi 2021-07-29 09:15:57 +02:00
parent 5af89ca6aa
commit 50e3f40a8b

View file

@ -570,6 +570,9 @@ function alert_utils.getLinkToPastFlows(ifid, alert, alert_json)
past_flows_filter["epoch_end"] = past_flows_filter["epoch_begin"] + duration
end
-- TODO: Temporarily disabled, WIP
past_flows_filter = {}
-- Return the link augmented with the filter
return string.format("%s/lua/pro/nindex_query.lua?", ntop.getHttpPrefix(), table.tconcat(past_flows_filter, "=", "&"))
end