]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #5606 from annando/issue-5605
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Mon, 13 Aug 2018 04:38:36 +0000 (06:38 +0200)
committerGitHub <noreply@github.com>
Mon, 13 Aug 2018 04:38:36 +0000 (06:38 +0200)
Issue-5605: Fixes notice

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;
                                }
                        }