Added score nil comment

This commit is contained in:
MatteoBiscosi 2022-07-25 10:51:20 +02:00
parent c3bb24a38b
commit 273d594f7d

View file

@ -506,6 +506,7 @@ end
-- #####################################
local function dt_format_score(score)
-- Score could be nil, in fact score could be not a selected column
local score = tonumber(score) or 0
local severity_id = map_score_to_severity(score or 0)
local severity = {}