Commit 674b28be authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg

Fix start reminder users slicing

parent 63cc402a
......@@ -395,8 +395,8 @@ class Event(models.Model, metaclass=ModelTranslateMeta):
self.start_reminder = start_reminder
if self.registration_required:
self.start_reminder.users.set(
self.participants.filter(member__isnull=False)
.values_list('member', flat=True))
[r.member for r in self.participants
if r.member])
else:
self.start_reminder.users.set(Member.current_members.all())
elif start_reminder.pk is not None:
......
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