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 public static function implode(array $tags): string
{ {
sort($tags); sort($tags, SORT_FLAG_CASE|SORT_STRING);
$tags = implode(' ', $tags); return implode(' ', $tags);
return $tags;
} }
/** /**