# HG changeset patch # User bsw # Date 1340921371 -7200 # Node ID e07c9ce874703e31390777d0714ea743a5792be0 # Parent 9d4398195faff98ca0733f15c749ef272e962df1 Fixed error in area/show diff -r 9d4398195faf -r e07c9ce87470 app/main/area/_head.lua --- a/app/main/area/_head.lua Fri Jun 29 00:06:43 2012 +0200 +++ b/app/main/area/_head.lua Fri Jun 29 00:09:31 2012 +0200 @@ -26,7 +26,7 @@ ui.container{ attr = { class = "content" }, content = function() -- actions (members with appropriate voting right only) - if app.session.member_id then + if member then -- membership local membership = Membership:by_pk(area.id, member.id)