Store in lowercase to avoid duplicates

pull/4822/head
Michael 2018-04-12 08:55:36 +00:00
parent e83e31a968
commit 4fd4d277f0
1 changed files with 1 additions and 0 deletions

View File

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