liquid_feedback_frontend

changeset 814:b68880106e7e

Fixed public access to member home page
author bsw
date Fri Jul 06 14:01:28 2012 +0200 (2012-07-06)
parents ea2449916c12
children 3378ea16007f
files app/main/unit/_head.lua
line diff
     1.1 --- a/app/main/unit/_head.lua	Fri Jul 06 13:58:20 2012 +0200
     1.2 +++ b/app/main/unit/_head.lua	Fri Jul 06 14:01:28 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 -unit:load_delegation_info_once_for_member_id(app.session.member_id)
     1.8 +if app.session.member_id then
     1.9 +  unit:load_delegation_info_once_for_member_id(app.session.member_id)
    1.10 +end
    1.11  
    1.12  ui.container{ attr = { class = "unit_head" }, content = function()
    1.13  

Impressum / About Us