# HG changeset patch # User bsw # Date 1271962728 -7200 # Node ID 8e11fb45c688fd34b5c0e747ced46d3bdd59be52 # Parent e5618928be47c6d6ad565cba324c7968c26f9d25 Fixed wrong count of not voted issues diff -r e5618928be47 -r 8e11fb45c688 app/main/member/show_tab.lua --- a/app/main/member/show_tab.lua Thu Apr 22 20:34:02 2010 +0200 +++ b/app/main/member/show_tab.lua Thu Apr 22 20:58:48 2010 +0200 @@ -55,7 +55,9 @@ if area.is_member or area.interested_issues_to_vote_count > 0 then not_voted_areas[#not_voted_areas+1] = area end - issues_to_vote_count = issues_to_vote_count + area.issues_to_vote_count_sum + if area.is_member then + issues_to_vote_count = issues_to_vote_count + area.issues_to_vote_count_sum + end end if issues_to_vote_count > 0 then