liquid_feedback_frontend
changeset 1157:591b78770f66
merge
author | jbe |
---|---|
date | Mon Mar 23 23:18:43 2015 +0100 (2015-03-23) |
parents | 08adef9f05b9 9fed7af9263f |
children | e9f6ae14bc72 a2922edacce0 |
files |
line diff
1.1 --- a/app/main/initiative/new.lua Mon Mar 23 23:17:43 2015 +0100 1.2 +++ b/app/main/initiative/new.lua Mon Mar 23 23:18:43 2015 +0100 1.3 @@ -155,7 +155,7 @@ 1.4 slot.put("<br />") 1.5 end 1.6 if not issue_id then 1.7 - tmp = { { id = -1, name = "" } } 1.8 + local tmp = { { id = -1, name = "" } } 1.9 for i, allowed_policy in ipairs(area.allowed_policies) do 1.10 if not allowed_policy.polling or app.session.member:has_polling_right_for_unit_id(area.unit_id) then 1.11 tmp[#tmp+1] = allowed_policy