Sendmail: Fix using old log entries

This commit is contained in:
Raphael Michel
2019-06-06 11:39:01 +02:00
parent 4913190730
commit b2274039b3

View File

@@ -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'],