]> git.mxchange.org Git - friendica.git/commitdiff
Issue-5605: Fixes notice
authorMichael <heluecht@pirati.ca>
Sun, 12 Aug 2018 08:00:37 +0000 (08:00 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 12 Aug 2018 08:00:37 +0000 (08:00 +0000)
src/Protocol/PortableContact.php

index 1c44947f58052823a0a28598341f2a1fa76b977a..20ee77a07cbdf5a0ec11d8081897c2801f2ac23c 100644 (file)
@@ -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;
                                }
                        }