From: Michael Date: Sun, 12 Aug 2018 08:00:37 +0000 (+0000) Subject: Issue-5605: Fixes notice X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b3931d066c21e209c0f2278b3419c9bcb20e5eef;p=friendica.git Issue-5605: Fixes notice --- 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; } }