mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +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',
|
'pretix.event.order.customer.changed',
|
||||||
data={
|
data={
|
||||||
'old_customer': old_customer,
|
'old_customer': old_customer,
|
||||||
'new_customer': self.form.cleaned_data['customer'],
|
'new_customer': self.form.cleaned_data.get('customer'),
|
||||||
},
|
},
|
||||||
user=self.request.user,
|
user=self.request.user,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user