Added check

This commit is contained in:
Luca Deri 2020-11-14 11:43:33 +01:00 committed by GitHub
parent d94920d858
commit 7c9631b955
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ local function formatFlowRisk(info)
-- inside the flow details page
local res = i18n("alerts_dashboard.flow_risk")
if info.risk_id then
if((info ~= nil) and info.risk_id) then
res = flow_risk_utils.risk_id_2_i18n(info.risk_id)
end