Tag::implode should sort case-insensitively

This commit is contained in:
Shish 2023-06-25 21:56:02 +00:00
parent 2ebeb27bb6
commit f9f37fc637

View file

@ -124,10 +124,8 @@ class Tag
public static function implode(array $tags): string
{
sort($tags);
$tags = implode(' ', $tags);
return $tags;
sort($tags, SORT_FLAG_CASE|SORT_STRING);
return implode(' ', $tags);
}
/**