liquid_feedback_frontend
changeset 67:8e11fb45c688 beta17
Fixed wrong count of not voted issues
author | bsw |
---|---|
date | Thu Apr 22 20:58:48 2010 +0200 (2010-04-22) |
parents | e5618928be47 |
children | 20186f06e953 |
files | app/main/member/show_tab.lua |
line diff
1.1 --- a/app/main/member/show_tab.lua Thu Apr 22 20:34:02 2010 +0200 1.2 +++ b/app/main/member/show_tab.lua Thu Apr 22 20:58:48 2010 +0200 1.3 @@ -55,7 +55,9 @@ 1.4 if area.is_member or area.interested_issues_to_vote_count > 0 then 1.5 not_voted_areas[#not_voted_areas+1] = area 1.6 end 1.7 - issues_to_vote_count = issues_to_vote_count + area.issues_to_vote_count_sum 1.8 + if area.is_member then 1.9 + issues_to_vote_count = issues_to_vote_count + area.issues_to_vote_count_sum 1.10 + end 1.11 end 1.12 1.13 if issues_to_vote_count > 0 then