mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Fix logging language of expiry mails
This commit is contained in:
@@ -388,9 +388,9 @@ class Order(LoggedModel):
|
|||||||
from pretix.base.services.mail import SendMailException, mail, render_mail
|
from pretix.base.services.mail import SendMailException, mail, render_mail
|
||||||
|
|
||||||
recipient = self.email
|
recipient = self.email
|
||||||
email_content = render_mail(template, context)[0]
|
|
||||||
try:
|
try:
|
||||||
with language(self.locale):
|
with language(self.locale):
|
||||||
|
email_content = render_mail(template, context)[0]
|
||||||
mail(
|
mail(
|
||||||
recipient, subject, template, context,
|
recipient, subject, template, context,
|
||||||
self.event, self.locale, self, headers, sender
|
self.event, self.locale, self, headers, sender
|
||||||
|
|||||||
Reference in New Issue
Block a user