]> git.mxchange.org Git - friendica.git/commitdiff
Store in lowercase to avoid duplicates
authorMichael <heluecht@pirati.ca>
Thu, 12 Apr 2018 08:55:36 +0000 (08:55 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 12 Apr 2018 08:55:36 +0000 (08:55 +0000)
src/Protocol/PortableContact.php

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