mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34: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
|
# and does not deal with our default value here properly
|
||||||
content = op.secret
|
content = op.secret
|
||||||
else:
|
else:
|
||||||
content = self._get_text_content(op, order, o)
|
content = self._get_text_content(op, order, o).strip()
|
||||||
|
|
||||||
if len(content) == 0:
|
if len(content) == 0:
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user