mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fix many missing requires.
This commit is contained in:
parent
e243f7c826
commit
83634d06e1
6 changed files with 9 additions and 4 deletions
|
|
@ -20,6 +20,7 @@ local http_lint = {}
|
|||
local json = require "dkjson"
|
||||
local tracker = require "tracker"
|
||||
local locales_utils = require "locales_utils"
|
||||
require "ntop_utils"
|
||||
|
||||
-- #################################################################
|
||||
|
||||
|
|
@ -93,7 +94,7 @@ local function validateListOfType(l, validate_callback, separator)
|
|||
local items = split(l, separator)
|
||||
|
||||
for _, item in pairs(items) do
|
||||
if item ~= "" then
|
||||
if item and item ~= "" then
|
||||
if not validate_callback(item) then
|
||||
return false
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue