Apply suggestion from @luelista

This commit is contained in:
luelista
2026-06-15 14:27:10 +02:00
committed by GitHub
parent e869e88cca
commit 877c329585
+1 -1
View File
@@ -245,7 +245,7 @@ def recv_classic(sender, **kwargs):
def assign_ticket_secret(event, position, force_invalidate_if_revokation_list_used=False, force_invalidate=False, save=True):
if position.issued_gift_cards.exists():
if position.pk and position.issued_gift_cards.exists():
return
gen = event.ticket_secret_generator