forked from CGM_Public/pretix_original
Fix KeyError in sendmail history
This commit is contained in:
@@ -123,6 +123,7 @@ class EmailHistoryView(EventPermissionRequiredMixin, ListView):
|
|||||||
ctx = super().get_context_data()
|
ctx = super().get_context_data()
|
||||||
|
|
||||||
status = dict(Order.STATUS_CHOICE)
|
status = dict(Order.STATUS_CHOICE)
|
||||||
|
status['overdue'] = _('pending with payment overdue')
|
||||||
for log in ctx['logs']:
|
for log in ctx['logs']:
|
||||||
log.pdata = log.parsed_data
|
log.pdata = log.parsed_data
|
||||||
log.pdata['locales'] = {}
|
log.pdata['locales'] = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user