liquid_feedback_frontend

changeset 573:b8e72db6dd0d

Fixed usage of wrong variable
author bsw
date Tue Jun 19 23:37:20 2012 +0200 (2012-06-19)
parents 1b799fcdae31
children e7baf2713987
files app/main/issue/_show.lua
line diff
     1.1 --- a/app/main/issue/_show.lua	Tue Jun 19 23:35:10 2012 +0200
     1.2 +++ b/app/main/issue/_show.lua	Tue Jun 19 23:37:20 2012 +0200
     1.3 @@ -131,7 +131,7 @@
     1.4        end
     1.5      end
     1.6  
     1.7 -    if not issue.closed and app.session.member_id and app.session.member:has_voting_right_for_unit_id(issue.area.unit) then
     1.8 +    if not issue.closed and app.session.member_id and app.session.member:has_voting_right_for_unit_id(issue.area.unit_id) then
     1.9        if issue.member_info.own_delegation_scope ~= "issue" then
    1.10          links[#links+1] = { text = _"Delegate issue", module = "delegation", view = "show", params = { issue_id = issue.id } }
    1.11        else

Impressum / About Us