From: Michael Date: Thu, 12 Apr 2018 08:55:36 +0000 (+0000) Subject: Store in lowercase to avoid duplicates X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4fd4d277f00b61ab413faf66758229e1dcd0ff09;p=friendica.git Store in lowercase to avoid duplicates --- diff --git a/src/Protocol/PortableContact.php b/src/Protocol/PortableContact.php index 20f5cb0b02..f7ea27d679 100644 --- a/src/Protocol/PortableContact.php +++ b/src/Protocol/PortableContact.php @@ -1421,6 +1421,7 @@ class PortableContact // Avoid duplicates $tags = []; foreach ($data->tags as $tag) { + $tag = strtolower($tag); $tags[$tag] = $tag; }