From 1f3d4a281065e170b5c33e99db884189e8a6661e Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Mon, 28 Sep 2020 16:11:30 +0200 Subject: [PATCH] Fix name finding in placeholders --- src/pretix/base/email.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/base/email.py b/src/pretix/base/email.py index cf869dddfd..aaf2e670a2 100644 --- a/src/pretix/base/email.py +++ b/src/pretix/base/email.py @@ -241,7 +241,7 @@ def get_email_context(**kwargs): try: kwargs['invoice_address'] = kwargs['order'].invoice_address except InvoiceAddress.DoesNotExist: - kwargs['invoice_address'] = InvoiceAddress() + kwargs['invoice_address'] = InvoiceAddress(order=kwargs['order']) finally: kwargs.setdefault("position_or_address", kwargs['invoice_address']) ctx = {}