forked from CGM_Public/pretix_original
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:
|
||||
continue
|
||||
ct = CachedCombinedTicket.objects.get(pk=retval)
|
||||
|
||||
if ct.type == 'text/uri-list':
|
||||
continue
|
||||
|
||||
tickets.append((
|
||||
"{}-{}-{}{}".format(
|
||||
order.event.slug.upper(), order.code, ct.provider, ct.extension,
|
||||
|
||||
Reference in New Issue
Block a user