mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fixes nil score value
This commit is contained in:
parent
9e10a2675b
commit
7d9f9b9efc
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue