forked from CGM_Public/pretix_original
Fix name being used instead of email in CSV files
This commit is contained in:
@@ -110,7 +110,7 @@ class CSVCheckinList(BaseCheckinList):
|
|||||||
if form_data['secrets']:
|
if form_data['secrets']:
|
||||||
row.append(op.secret)
|
row.append(op.secret)
|
||||||
if self.event.settings.attendee_emails_asked:
|
if self.event.settings.attendee_emails_asked:
|
||||||
row.append(op.attendee_email or (op.addon_to.attendee_name if op.addon_to else ''))
|
row.append(op.attendee_email or (op.addon_to.attendee_email if op.addon_to else ''))
|
||||||
acache = {}
|
acache = {}
|
||||||
for a in op.answers.all():
|
for a in op.answers.all():
|
||||||
acache[a.question_id] = str(a)
|
acache[a.question_id] = str(a)
|
||||||
|
|||||||
Reference in New Issue
Block a user