Fix bug when changing quotas in subevent bulk editor

This commit is contained in:
Raphael Michel
2021-03-05 13:05:04 +01:00
parent a51c2a36a6
commit 405b3a22e1

View File

@@ -1184,7 +1184,7 @@ class SubEventBulkEdit(SubEventQueryMixin, EventPermissionRequiredMixin, FormVie
for fname in ('size', 'name', 'release_after_exit'):
setattr(q, fname, f.cleaned_data.get(fname))
q.save(clear_cache=False)
if 'itemvar' in f.changed_data:
if 'itemvars' in f.changed_data:
q.items.set(selected_items)
q.variations.set(selected_variations)
log_entries.append(