summaryrefslogtreecommitdiff
path: root/lib/VNDB
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2010-12-15 09:45:39 +0100
committerYorhel <git@yorhel.nl>2010-12-15 09:45:39 +0100
commiteb86a7d2b2d9eba76576687f6c12ecc55521461d (patch)
tree54c4722b536ffdc5d1992efda0cf71c28f7a7466 /lib/VNDB
parentb84c9eaaebbc9ff5668a4684b1d034b5b589f624 (diff)
Handler::Users: Link the vote count on /u+ to /u+/votes instead of /u+/list
Diffstat (limited to 'lib/VNDB')
-rw-r--r--lib/VNDB/Handler/Users.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/Users.pm b/lib/VNDB/Handler/Users.pm
index 46bd3489..3e2a1aef 100644
--- a/lib/VNDB/Handler/Users.pm
+++ b/lib/VNDB/Handler/Users.pm
@@ -77,7 +77,7 @@ sub userpage {
$total += $_*$votes->[$_-1];
$count += $votes->[$_-1];
}
- lit mt '_userpage_votes_item', "/u$uid/list?v=1", $count, sprintf '%.2f', $total/$count;
+ lit mt '_userpage_votes_item', "/u$uid/votes", $count, sprintf '%.2f', $total/$count;
} else {
txt '-';
}