liquid_feedback_frontend

changeset 815:3378ea16007f

Fixed public access to member home page
author bsw
date Fri Jul 06 14:02:05 2012 +0200 (2012-07-06)
parents b68880106e7e
children 3e8b50739577
files app/main/area/_head.lua
line diff
     1.1 --- a/app/main/area/_head.lua	Fri Jul 06 14:01:28 2012 +0200
     1.2 +++ b/app/main/area/_head.lua	Fri Jul 06 14:02:05 2012 +0200
     1.3 @@ -3,7 +3,9 @@
     1.4  
     1.5  local show_content = param.get("show_content", atom.boolean)
     1.6  
     1.7 -area:load_delegation_info_once_for_member_id(app.session.member_id)
     1.8 +if app.session.member_id then
     1.9 +  area:load_delegation_info_once_for_member_id(app.session.member_id)
    1.10 +end
    1.11  
    1.12  if not param.get("hide_unit", atom.boolean) then
    1.13    execute.view{ module = "unit", view = "_head", params = { unit = area.unit, member = member } }

Impressum / About Us