From b3931d066c21e209c0f2278b3419c9bcb20e5eef Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 12 Aug 2018 08:00:37 +0000 Subject: [PATCH] Issue-5605: Fixes notice --- src/Protocol/PortableContact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.20.1