# HG changeset patch # User bsw # Date 1341576088 -7200 # Node ID b68880106e7e7a34c05acbbd86cc0702f69c79eb # Parent ea2449916c125baebb0dc69603800a002403ff2f Fixed public access to member home page diff -r ea2449916c12 -r b68880106e7e app/main/unit/_head.lua --- a/app/main/unit/_head.lua Fri Jul 06 13:58:20 2012 +0200 +++ b/app/main/unit/_head.lua Fri Jul 06 14:01:28 2012 +0200 @@ -3,7 +3,9 @@ local show_content = param.get("show_content", atom.boolean) -unit:load_delegation_info_once_for_member_id(app.session.member_id) +if app.session.member_id then + unit:load_delegation_info_once_for_member_id(app.session.member_id) +end ui.container{ attr = { class = "unit_head" }, content = function()