Commit 19664f2c authored by Tom van Bussel's avatar Tom van Bussel
Browse files

Fix event pages when user is not logged in

parent e7401afa
...@@ -48,7 +48,7 @@ class EventDetail(DetailView): ...@@ -48,7 +48,7 @@ class EventDetail(DetailView):
event=event, event=event,
member=self.request.member member=self.request.member
) )
except (Registration.DoesNotExist, AttributeError): except (Registration.DoesNotExist, TypeError):
pass pass
context['permissions'] = services.event_permissions( context['permissions'] = services.event_permissions(
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment