liquid_feedback_frontend

diff app/main/admin/_action/member_update.lua @ 1187:e17e35dc8aa6

Fixed usage of global variable
author bsw
date Sat Mar 28 01:34:30 2015 +0100 (2015-03-28)
parents cb5bac9da089
children 32cc544d5a5b
line diff
     1.1 --- a/app/main/admin/_action/member_update.lua	Thu Mar 26 21:31:10 2015 +0100
     1.2 +++ b/app/main/admin/_action/member_update.lua	Sat Mar 28 01:34:30 2015 +0100
     1.3 @@ -53,7 +53,7 @@
     1.4  for i, unit in ipairs(units) do
     1.5    local value = param.get("unit_" .. unit.id, atom.boolean)
     1.6    if value and not unit.privilege_exists then
     1.7 -    privilege = Privilege:new()
     1.8 +    local privilege = Privilege:new()
     1.9      privilege.unit_id = unit.id
    1.10      privilege.member_id = member.id
    1.11      privilege.voting_right = true

Impressum / About Us