mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Fix getting alert notifications when disabled
This commit is contained in:
parent
6ea7055761
commit
608676fd0d
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ end
|
|||
-- ##############################################
|
||||
|
||||
local function getEnabledAlertNotificationModules()
|
||||
local notifications_enabled = ntop.getPref("ntopng.prefs.alerts.external_notifications_enabled")
|
||||
local notifications_enabled = (ntop.getPref("ntopng.prefs.alerts.external_notifications_enabled") == "1")
|
||||
local has_alerts_disabled = (ntop.getPref("ntopng.prefs.disable_alerts_generation") == "1")
|
||||
|
||||
if not notifications_enabled or has_alerts_disabled then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue