forked from CGM_Public/pretix_original
Sendmail: Fix using old log entries
This commit is contained in:
@@ -40,7 +40,7 @@ class SenderView(EventPermissionRequiredMixin, FormView):
|
|||||||
action_type='pretix.plugins.sendmail.sent'
|
action_type='pretix.plugins.sendmail.sent'
|
||||||
)
|
)
|
||||||
kwargs['initial'] = {
|
kwargs['initial'] = {
|
||||||
'recipients': logentry.parsed_data['recipients'],
|
'recipients': logentry.parsed_data('recipients', 'orders'),
|
||||||
'message': LazyI18nString(logentry.parsed_data['message']),
|
'message': LazyI18nString(logentry.parsed_data['message']),
|
||||||
'subject': LazyI18nString(logentry.parsed_data['subject']),
|
'subject': LazyI18nString(logentry.parsed_data['subject']),
|
||||||
'sendto': logentry.parsed_data['sendto'],
|
'sendto': logentry.parsed_data['sendto'],
|
||||||
|
|||||||
Reference in New Issue
Block a user