mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 19:15:03 +00:00
Safety check
This commit is contained in:
parent
d16c1ad39c
commit
94ef20b5d6
1 changed files with 3 additions and 2 deletions
|
|
@ -75,9 +75,10 @@ end
|
|||
-- @return A human-readable string
|
||||
function alert_as_ranking_changed.format(ifid, alert, alert_type_params)
|
||||
local alert_consts = require("alert_consts")
|
||||
local changes = alert_type_params.changes or {}
|
||||
|
||||
current = formatRanking(alert_type_params.changes.current)
|
||||
prev = formatRanking(alert_type_params.changes.previous)
|
||||
current = formatRanking(changes.current or {})
|
||||
prev = formatRanking(changes.previous or {})
|
||||
|
||||
return i18n("alert_messages.alert_as_ranking_changed", {
|
||||
current_ranking = current,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue