mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Fix changing customer of an order to none
This commit is contained in:
@@ -1841,7 +1841,7 @@ class OrderContactChange(OrderView):
|
||||
'pretix.event.order.customer.changed',
|
||||
data={
|
||||
'old_customer': old_customer,
|
||||
'new_customer': self.form.cleaned_data['customer'],
|
||||
'new_customer': self.form.cleaned_data.get('customer'),
|
||||
},
|
||||
user=self.request.user,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user