diff --git a/src/pretix/plugins/ticketoutputpdf/ticketoutput.py b/src/pretix/plugins/ticketoutputpdf/ticketoutput.py index 025724f3af..c25b76a39b 100644 --- a/src/pretix/plugins/ticketoutputpdf/ticketoutput.py +++ b/src/pretix/plugins/ticketoutputpdf/ticketoutput.py @@ -200,6 +200,8 @@ class PdfTicketOutput(BaseTicketOutput): def _get_text_content(self, op: OrderPosition, order: Order, o: dict): ev = op.subevent or order.event + if not o['content']: + return '(error)' if o['content'] == 'other': return o['text'].replace("\n", "
\n") elif o['content'].startswith('meta:'):