From: jordan Date: Tue, 17 May 2011 10:08:14 +0000 (+0000) Subject: fixing a small bug that appeared in Revision 1039 X-Git-Tag: live~272 X-Git-Url: https://git.openstreetmap.org/osqa.git/commitdiff_plain/ad213fc7d53a172c05cc2733c4320f6a1bb711be fixing a small bug that appeared in Revision 1039 git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1041 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum/views/users.py b/forum/views/users.py index 9dbde3e..e6abdc4 100644 --- a/forum/views/users.py +++ b/forum/views/users.py @@ -306,7 +306,7 @@ def user_profile(request, user): up_votes = user.vote_up_count down_votes = user.vote_down_count votes_today = user.get_vote_count_today() - votes_total = users.can_vote_count_today() + votes_total = user.can_vote_count_today() user_tags = Tag.objects.filter(Q(nodes__author=user) | Q(nodes__children__author=user)) \ .annotate(user_tag_usage_count=Count('name')).order_by('-user_tag_usage_count')