Merge pull request #4857 from annando/duplicated-tags
Avoid duplicated multibyte tags
This commit is contained in:
commit
fda5ad647d
1 changed files with 1 additions and 1 deletions
|
@ -1421,7 +1421,7 @@ class PortableContact
|
||||||
// Avoid duplicates
|
// Avoid duplicates
|
||||||
$tags = [];
|
$tags = [];
|
||||||
foreach ($data->tags as $tag) {
|
foreach ($data->tags as $tag) {
|
||||||
$tag = strtolower($tag);
|
$tag = mb_strtolower($tag);
|
||||||
$tags[$tag] = $tag;
|
$tags[$tag] = $tag;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue