mirror of
https://github.com/pretix/pretix.git
synced 2026-05-10 16:04:02 +00:00
Fix calculation error in best_availability_state
This commit is contained in:
@@ -315,7 +315,7 @@ class EventMixin:
|
|||||||
items_gone -= items_disabled
|
items_gone -= items_disabled
|
||||||
vars_available -= vars_disabled
|
vars_available -= vars_disabled
|
||||||
vars_reserved -= vars_disabled
|
vars_reserved -= vars_disabled
|
||||||
vars_gone -= vars_gone
|
vars_gone -= vars_disabled
|
||||||
|
|
||||||
if not self.active_quotas or (
|
if not self.active_quotas or (
|
||||||
not items_available and not items_reserved and not items_gone and not vars_gone and not vars_available and not vars_reserved
|
not items_available and not items_reserved and not items_gone and not vars_gone and not vars_available and not vars_reserved
|
||||||
|
|||||||
Reference in New Issue
Block a user