mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Do not attach text/uri-list ticket formats if multi_download_enabled set (#5438)
This commit is contained in:
@@ -161,6 +161,10 @@ def get_tickets_for_order(order, base_position=None):
|
|||||||
if not retval:
|
if not retval:
|
||||||
continue
|
continue
|
||||||
ct = CachedCombinedTicket.objects.get(pk=retval)
|
ct = CachedCombinedTicket.objects.get(pk=retval)
|
||||||
|
|
||||||
|
if ct.type == 'text/uri-list':
|
||||||
|
continue
|
||||||
|
|
||||||
tickets.append((
|
tickets.append((
|
||||||
"{}-{}-{}{}".format(
|
"{}-{}-{}{}".format(
|
||||||
order.event.slug.upper(), order.code, ct.provider, ct.extension,
|
order.event.slug.upper(), order.code, ct.provider, ct.extension,
|
||||||
|
|||||||
Reference in New Issue
Block a user