mirror of
https://github.com/pretix/pretix.git
synced 2025-12-05 21:32:28 +00:00
Check-in rules: Fall back to date_from if date_to is unset
This commit is contained in:
@@ -23,7 +23,7 @@ def get_logic_environment(ev):
|
||||
elif t == 'date_from':
|
||||
return ev.date_from
|
||||
elif t == 'date_to':
|
||||
return ev.date_to
|
||||
return ev.date_to or ev.date_from
|
||||
elif t == 'date_admission':
|
||||
return ev.date_admission or ev.date_from
|
||||
|
||||
|
||||
Reference in New Issue
Block a user