Added empty string check to formatter

This commit is contained in:
Matteo Biscosi 2021-06-01 12:30:36 +02:00
parent abcacaad88
commit aa0167123b

View file

@ -689,6 +689,7 @@ end
function l4_proto_to_string(proto_id)
if not proto_id then return "" end
if isEmptyString(proto_id) then return "" end
proto_id = tonumber(proto_id)