mirror of
https://github.com/pretix/pretix.git
synced 2026-04-24 23:32:33 +00:00
Fix issue created in 1f889be0
This commit is contained in:
@@ -205,7 +205,7 @@ class PdfTicketOutput(BaseTicketOutput):
|
||||
return ev.meta_data.get(o['content'][5:]) or ''
|
||||
elif o['content'] in self.variables:
|
||||
try:
|
||||
self.variables[o['content']]['evaluate'](op, order, ev)
|
||||
return self.variables[o['content']]['evaluate'](op, order, ev)
|
||||
except:
|
||||
logger.exception('Failed to process variable.')
|
||||
return '(error)'
|
||||
|
||||
Reference in New Issue
Block a user