1
1
Fork 0

Merge pull request #4857 from annando/duplicated-tags

Avoid duplicated multibyte tags
This commit is contained in:
Tobias Diekershoff 2018-04-18 07:50:56 +02:00 committed by GitHub
commit fda5ad647d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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