forked from CGM_Public/pretix_original
Voucher import: Allow empty subevent (Z#23171356) (#4622)
This commit is contained in:
@@ -256,6 +256,9 @@ class SubeventColumnMixin:
|
||||
]
|
||||
|
||||
def clean(self, value, previous_values):
|
||||
if not value:
|
||||
return None
|
||||
|
||||
if value in self._subevent_cache:
|
||||
return self._subevent_cache[value]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user