Fix syslog preference being ignored

This commit is contained in:
emanuele-f 2017-11-17 15:27:10 +01:00
parent 6b37ee2820
commit 58fba7df8b
3 changed files with 10 additions and 6 deletions

View file

@ -104,7 +104,7 @@ end
if not ifs.isView and ntop.getPrefs().are_alerts_enabled == true then
local alert_cache = interface.getCachedNumAlerts()
local alert_cache = interface.getCachedNumAlerts() or {}
local active = ""
local style = ""
local color = ""