Commit 84b0b5b7 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

(cherry picked from commit 5e7f90cf)

19664f2c Fix event pages when user is not logged in
parent d7bc5af8
......@@ -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