mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Order change: Do not crash on empty fee input (PRETIXEU-9B2)
This commit is contained in:
@@ -1891,7 +1891,7 @@ class OrderChange(OrderView):
|
||||
ocm.cancel_fee(f)
|
||||
continue
|
||||
|
||||
if f.form.cleaned_data['value'] != f.value:
|
||||
if f.form.cleaned_data['value'] is not None and f.form.cleaned_data['value'] != f.value:
|
||||
ocm.change_fee(f, f.form.cleaned_data['value'])
|
||||
|
||||
if f.form.cleaned_data['tax_rule'] and f.form.cleaned_data['tax_rule'] != f.tax_rule:
|
||||
|
||||
Reference in New Issue
Block a user