]> git.mxchange.org Git - friendica.git/commitdiff
Avoid duplicated multibyte tags
authorMichael <heluecht@pirati.ca>
Wed, 18 Apr 2018 05:00:28 +0000 (05:00 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 18 Apr 2018 05:00:28 +0000 (05:00 +0000)
src/Protocol/PortableContact.php

index f7ea27d67972522d2efa3bc3d9994a3676145d59..06c2636aca8b33931ede15a5494feeda4f078267 100644 (file)
@@ -1421,7 +1421,7 @@ class PortableContact
                        // Avoid duplicates
                        $tags = [];
                        foreach ($data->tags as $tag) {
-                               $tag = strtolower($tag);
+                               $tag = mb_strtolower($tag);
                                $tags[$tag] = $tag;
                        }