mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
putting line between a nil check
This commit is contained in:
parent
ebdcfc4d86
commit
03de4213c3
1 changed files with 3 additions and 3 deletions
|
|
@ -390,10 +390,10 @@ for _key, _value in pairsByKeys(vals, funct) do
|
|||
|
||||
-- print("</div>")
|
||||
|
||||
|
||||
if(value["category"] ~= nil) then
|
||||
if(value["active_http_hosts"] > 0) then print(" <span class='badge badge-top-right'>".. value["active_http_hosts"] .."</span>") end
|
||||
|
||||
if(value["category"] ~= nil) then print("\", \"column_category\" : \"".. getCategoryIcon(value["category"])) end
|
||||
print("\", \"column_category\" : \"".. getCategoryIcon(value["category"]))
|
||||
end
|
||||
if((value["httpbl"] ~= nil) and (string.len(value["httpbl"]) > 2)) then print("\", \"column_httpbl\" : \"".. value["httpbl"]) end
|
||||
|
||||
if (value["vlan"] ~= nil) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue