diff --git a/src/Protocol/PortableContact.php b/src/Protocol/PortableContact.php index 1c44947f58..20ee77a07c 100644 --- a/src/Protocol/PortableContact.php +++ b/src/Protocol/PortableContact.php @@ -1472,7 +1472,7 @@ class PortableContact $tags = []; foreach ($data['tags'] as $tag) { $tag = mb_strtolower($tag); - if (count($tag) < 100) { + if (strlen($tag) < 100) { $tags[$tag] = $tag; } }