mirror of
https://github.com/friendica/friendica
synced 2024-11-19 18:23:41 +00:00
Store in lowercase to avoid duplicates
This commit is contained in:
parent
e83e31a968
commit
4fd4d277f0
1 changed files with 1 additions and 0 deletions
|
@ -1421,6 +1421,7 @@ class PortableContact
|
||||||
// Avoid duplicates
|
// Avoid duplicates
|
||||||
$tags = [];
|
$tags = [];
|
||||||
foreach ($data->tags as $tag) {
|
foreach ($data->tags as $tag) {
|
||||||
|
$tag = strtolower($tag);
|
||||||
$tags[$tag] = $tag;
|
$tags[$tag] = $tag;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue