diff --git a/scripts/lua/host_details.lua b/scripts/lua/host_details.lua index 0ae87358f9..cd48eb7102 100644 --- a/scripts/lua/host_details.lua +++ b/scripts/lua/host_details.lua @@ -112,6 +112,10 @@ if((host == nil) and ((_GET["mode"] == "restore"))) then end function formatContacts(v) + if not v then + return "" + end + if(v > 5) then return(""..formatValue(v).."") else