putting line between a nil check

This commit is contained in:
Michele Campus 2015-07-16 15:18:41 +02:00
parent ebdcfc4d86
commit 03de4213c3

View file

@ -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