sforkowany z mirror/friendica
Issue 5436: Don't store tags that are too long
rodzic
c032011143
commit
3f612e0641
|
@ -1471,7 +1471,9 @@ class PortableContact
|
|||
$tags = [];
|
||||
foreach ($data['tags'] as $tag) {
|
||||
$tag = mb_strtolower($tag);
|
||||
$tags[$tag] = $tag;
|
||||
if (count($tag) < 100) {
|
||||
$tags[$tag] = $tag;
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($tags as $tag) {
|
||||
|
|
Ładowanie…
Reference in New Issue