]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Item.php
Improved definition style
[friendica.git] / src / Model / Item.php
index 0e82189298b7a53412f7bed20fef5c5c945f21bf..f6d08047b2f331e3ef20f5f0fccba0893ab27720 100644 (file)
@@ -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);
                });