forked from CGM_Public/pretix_original
Add support for orders without email addresses
This commit is contained in:
@@ -395,6 +395,9 @@ class Order(LoggedModel):
|
||||
"""
|
||||
from pretix.base.services.mail import SendMailException, mail, render_mail
|
||||
|
||||
if not self.email:
|
||||
return
|
||||
|
||||
with language(self.locale):
|
||||
recipient = self.email
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user