Add records count in top l7 contacts

This commit is contained in:
Alfredo Cardigliano 2022-04-12 17:13:01 +02:00
parent b281394821
commit bf60406e82
4 changed files with 15 additions and 1 deletions

View file

@ -47,7 +47,7 @@ bitsToSizeMultiplier = format_utils.bitsToSizeMultiplier
-- Note: Regexs are applied by default. Pass plain=true to disable them.
function string.contains(str, start, is_plain)
if type(str) ~= 'string' or type(start) ~= 'string' then
if type(str) ~= 'string' or type(start) ~= 'string' or isEmptyString(str) or isEmptyString(start) then
return false
end