Avoid duplicated multibyte tags

2022.09-rc
Michael 2018-04-18 05:00:28 +00:00
rodzic 961a6d29a9
commit ed87e634ed
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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