forked from GNUsocial/gnu-social
ksort() the tags list
darcs-hash:20080731041000-84dde-09a4b1d69cc42b7380582d1a2f5d718b6e57dcd2.gz
This commit is contained in:
parent
1dfddc0cd2
commit
4bd68f89c3
@ -110,6 +110,8 @@ class TagAction extends StreamAction {
|
||||
$sum += $tags->weight;
|
||||
}
|
||||
|
||||
ksort($tw);
|
||||
|
||||
foreach ($tw as $tag => $weight) {
|
||||
$this->show_tag($tag, $weight, $weight/$sum);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user