Fixes nil score value

This commit is contained in:
MatteoBiscosi 2022-07-25 09:33:20 +02:00
parent 9e10a2675b
commit 7d9f9b9efc

View file

@ -506,7 +506,7 @@ end
-- #####################################
local function dt_format_score(score)
local score = tonumber(score)
local score = tonumber(score) or 0
local severity_id = map_score_to_severity(score or 0)
local severity = {}