diff --git a/src/pretix/plugins/ticketoutputpdf/ticketoutput.py b/src/pretix/plugins/ticketoutputpdf/ticketoutput.py index 9028563a7..36663b991 100644 --- a/src/pretix/plugins/ticketoutputpdf/ticketoutput.py +++ b/src/pretix/plugins/ticketoutputpdf/ticketoutput.py @@ -79,7 +79,7 @@ class PdfTicketOutput(BaseTicketOutput): p.drawString(code_x * units.mm, code_y * units.mm, op.secret) attendee_s = self.settings.get('attendee_s', default=0, as_type=float) - if code_s and op.attendee_name: + if attendee_s and op.attendee_name: p.setFont("Helvetica", attendee_s) attendee_x = self.settings.get('attendee_x', default=15, as_type=float) attendee_y = self.settings.get('attendee_y', default=90, as_type=float)