Nil table fix

This commit is contained in:
emanuele-f 2020-01-02 12:29:33 +01:00
parent a4280e2f70
commit c57399c060

View file

@ -1134,7 +1134,7 @@ end
-- ##############################################
function user_scripts.getConfigsets()
local configsets = ntop.getHashAllCache(CONFIGSETS_KEY)
local configsets = ntop.getHashAllCache(CONFIGSETS_KEY) or {}
local rv = {}
for _, confset_json in pairs(configsets) do