aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 1abed81bf..c68bd3591 100644
--- a/include/text.php
+++ b/include/text.php
@@ -857,7 +857,7 @@ function tag_sort_length($a,$b) {
function total_sort($a,$b) {
if($a['total'] == $b['total'])
return 0;
- return(($b['total'] < $a['total']) ? 1 : (-1));
+ return(($b['total'] > $a['total']) ? 1 : (-1));
}