mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-06 03:45:26 +00:00
Handle old pools with no recipients
This commit is contained in:
parent
06b1bcdce0
commit
b15379d5be
1 changed files with 4 additions and 0 deletions
|
|
@ -467,6 +467,10 @@ function base_pools:get_pool(pool_id)
|
|||
pool_details["configset_details"] = {name = config_sets[configset_id]["name"]}
|
||||
end
|
||||
end
|
||||
|
||||
if not pool_details["recipients"] then
|
||||
pool_details["recipients"] = {}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue