mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Fixes user script disabled after adding a new alert to exclude
This commit is contained in:
parent
711bcb21d0
commit
714d479d41
1 changed files with 6 additions and 3 deletions
|
|
@ -1271,9 +1271,12 @@ function user_scripts.updateScriptConfig(confid, script_key, subdir, new_config,
|
|||
-- Updating the configuration
|
||||
configsets[confid]["filters"][subdir][script_key] = new_filter_conf
|
||||
end
|
||||
-- Set the new configuration
|
||||
config[subdir][script_key] = applied_config
|
||||
|
||||
|
||||
if table.len(applied_config) > 0 then
|
||||
-- Set the new configuration
|
||||
config[subdir][script_key] = applied_config
|
||||
end
|
||||
|
||||
return saveConfigsets(configsets)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue