mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Add config nil check
This commit is contained in:
parent
764a5885e6
commit
80ead56329
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ function ItemsList:parseConfig(script, conf)
|
|||
end
|
||||
|
||||
function ItemsList:describeConfig(script, hooks_conf)
|
||||
if not hooks_conf.all then
|
||||
if((not hooks_conf.all) or (not hooks_conf.all.script_conf)) then
|
||||
return '' -- disabled, nothing to show
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue