Commit 7a51e8a0 authored by Tom van Bussel's avatar Tom van Bussel
Browse files

Merge branch 'fix/only-send-queue-mail-when-reg-is-member' into 'master'

Only send queue mail when registration really is a member

See merge request !560
parents a18e3cd7 809ece15
......@@ -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