Verified Commit 809ece15 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Only send queue mail when registration really is a member

parent a18e3cd7
......@@ -230,6 +230,9 @@ def _send_queue_mail(request, event):
.order_by('date')[event.max_participants])
first_waiting_member = first_waiting.member
if not first_waiting_member:
return
text_template = get_template('events/email.txt')
base_url = baseurl.baseurl({'request': request})
......
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