From b2274039b35a574d0e368a12aecb084559f33de8 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Thu, 6 Jun 2019 11:39:01 +0200 Subject: [PATCH] Sendmail: Fix using old log entries --- src/pretix/plugins/sendmail/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/plugins/sendmail/views.py b/src/pretix/plugins/sendmail/views.py index f7b71e7295..6c52759fcf 100644 --- a/src/pretix/plugins/sendmail/views.py +++ b/src/pretix/plugins/sendmail/views.py @@ -40,7 +40,7 @@ class SenderView(EventPermissionRequiredMixin, FormView): action_type='pretix.plugins.sendmail.sent' ) kwargs['initial'] = { - 'recipients': logentry.parsed_data['recipients'], + 'recipients': logentry.parsed_data('recipients', 'orders'), 'message': LazyI18nString(logentry.parsed_data['message']), 'subject': LazyI18nString(logentry.parsed_data['subject']), 'sendto': logentry.parsed_data['sendto'],