Commit 5e7f90cf authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg

Merge branch 'fix/events-anonymous-user' into 'master'

Fix event pages when user is not logged in

See merge request !666
parents a146452e 19664f2c
...@@ -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(
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