diff --git a/lib/DigestSender.php b/lib/DigestSender.php index 7147ecdd4..1f93dad33 100644 --- a/lib/DigestSender.php +++ b/lib/DigestSender.php @@ -197,7 +197,7 @@ public function sendDigestForUser(string $uid, int $now, string $timezone, strin $template->addBodyListItem($l10n->n('and %n more ', 'and %n more ', $skippedCount)); } - $template->addFooter(); + $template->addFooter('', $language); $message = $this->mailer->createMessage(); $message->setTo([$user->getEMailAddress() => $user->getDisplayName()]); diff --git a/lib/MailQueueHandler.php b/lib/MailQueueHandler.php index 5e64a5b79..863fac061 100644 --- a/lib/MailQueueHandler.php +++ b/lib/MailQueueHandler.php @@ -395,7 +395,7 @@ protected function sendEmailToUser($userName, $email, $lang, $timezone, $maxTime $template->addBodyListItem($l->n('and %n more ', 'and %n more ', $skippedCount)); } - $template->addFooter(); + $template->addFooter('', $lang); $message = $this->mailer->createMessage(); $message->setTo([$email => $user->getDisplayName()]);