From 002ff38fba0fa2a347a118c429f02913bbe03061 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Wed, 23 Dec 2020 17:46:39 +0100 Subject: [PATCH] Fix crash in add-on form (PRETIXEU-3GV) --- src/pretix/presale/checkoutflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/presale/checkoutflow.py b/src/pretix/presale/checkoutflow.py index 06ce274303..1514146592 100644 --- a/src/pretix/presale/checkoutflow.py +++ b/src/pretix/presale/checkoutflow.py @@ -273,7 +273,7 @@ class AddOnsStep(CartMixin, AsyncAction, TemplateFlowStep): net=a.price - a.tax_value, gross=a.price, tax=a.tax_value, - name=a.item.tax_rule.name, + name=a.item.tax_rule.name if a.item.tax_rule else "", rate=a.tax_rate, ) else: