mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
PDF: fix handling empty qr-codes (#5488)
This commit is contained in:
committed by
GitHub
parent
39e5711e95
commit
a34b6a04ea
@@ -819,7 +819,7 @@ class Renderer:
|
||||
# and does not deal with our default value here properly
|
||||
content = op.secret
|
||||
else:
|
||||
content = self._get_text_content(op, order, o)
|
||||
content = self._get_text_content(op, order, o).strip()
|
||||
|
||||
if len(content) == 0:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user