mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fix user scripts configuration import (#5083)
This commit is contained in:
parent
2758ec85a5
commit
a4969a4316
2 changed files with 11 additions and 9 deletions
|
|
@ -1150,7 +1150,7 @@ end
|
|||
|
||||
function user_scripts.createOrReplaceConfigset(configset)
|
||||
-- Skip configurations other then the only one supported (others are deprecated)
|
||||
if configset.id ~= user_scripts.DEFAULT_CONFIGSET_ID then
|
||||
if configset.id and configset.id ~= user_scripts.DEFAULT_CONFIGSET_ID then
|
||||
return false
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue