forked from CGM_Public/pretix_original
Fix crash in send_expiry_warnings
This commit is contained in:
@@ -1297,6 +1297,7 @@ def send_expiry_warnings(sender, **kwargs):
|
||||
if (
|
||||
lp and
|
||||
lp.state in [OrderPayment.PAYMENT_STATE_CREATED, OrderPayment.PAYMENT_STATE_PENDING] and
|
||||
lp.payment_provider and
|
||||
lp.payment_provider.prevent_reminder_mail(o, lp)
|
||||
):
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user