aboutsummaryrefslogtreecommitdiffstats
path: root/tags.php
diff options
context:
space:
mode:
Diffstat (limited to 'tags.php')
-rw-r--r--tags.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tags.php b/tags.php
index e61ee1f24..bd6a53b90 100644
--- a/tags.php
+++ b/tags.php
@@ -36,7 +36,7 @@ function counter_compare($a, $b)
return tag_id_compare($a, $b);
}
- return ($a['counter'] < $b['counter']) ? -1 : 1;
+ return ($a['counter'] < $b['counter']) ? +1 : -1;
}
function tag_id_compare($a, $b)
@@ -102,7 +102,7 @@ foreach ($tags as $tag)
),
)
),
-
+
'NAME' => $tag['name'],
'TITLE' => $tag['counter'],
'CLASS' => 'tagLevel'.$tag['level'],