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

Fix event pages when user is not logged in

parent e7401afa
......@@ -48,7 +48,7 @@ class EventDetail(DetailView):
event=event,
member=self.request.member
)
except (Registration.DoesNotExist, AttributeError):
except (Registration.DoesNotExist, TypeError):
pass
context['permissions'] = services.event_permissions(
......
Markdown is supported
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