Fix: Wrong variable
This commit is contained in:
parent
2bb76d96d6
commit
f4543b2cf7
1 changed files with 1 additions and 1 deletions
|
@ -2611,7 +2611,7 @@ class Item
|
|||
// This sorting is important when there are hashtags that are part of other hashtags
|
||||
// Otherwise there could be problems with hashtags like #test and #test2
|
||||
// Because of this we are sorting from the longest to the shortest tag.
|
||||
usort($rawtags, function($a, $b) {
|
||||
usort($tags, function($a, $b) {
|
||||
return strlen($b) <=> strlen($a);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue