Tag::implode should sort case-insensitively
This commit is contained in:
parent
2ebeb27bb6
commit
f9f37fc637
1 changed files with 2 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Reference in a new issue