Avoid duplicated multibyte tags

This commit is contained in:
Michael 2018-04-18 05:00:28 +00:00
parent 961a6d29a9
commit ed87e634ed

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