forked from CGM_Public/pretix_original
Fix problems with CartMixin on empty order
Fix PRETIXEU-18A
This commit is contained in:
@@ -50,7 +50,7 @@ class CartMixin:
|
||||
return self.request._checkout_flow_invoice_address
|
||||
|
||||
def get_cart(self, answers=False, queryset=None, order=None, downloads=False):
|
||||
if queryset:
|
||||
if queryset is not None:
|
||||
prefetch = []
|
||||
if answers:
|
||||
prefetch.append('item__questions')
|
||||
|
||||
Reference in New Issue
Block a user