From: Marcel Werk Date: Mon, 29 Apr 2013 13:10:38 +0000 (+0200) Subject: Fixed i18n issue X-Git-Tag: 2.0.0_Beta_1~282 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=74fa6c7fe1697eb75d9cc9dc9c53e4ee6819773f;p=GitHub%2FWoltLab%2FWCF.git Fixed i18n issue --- diff --git a/wcfsetup/install/files/lib/system/worker/MailWorker.class.php b/wcfsetup/install/files/lib/system/worker/MailWorker.class.php index 3ad0767790..08161d8013 100644 --- a/wcfsetup/install/files/lib/system/worker/MailWorker.class.php +++ b/wcfsetup/install/files/lib/system/worker/MailWorker.class.php @@ -127,6 +127,7 @@ class MailWorker extends AbstractWorker { try { $mail = new Mail(array($user->username => $user->email), $this->userMailData['subject'], StringUtil::replace('{$username}', $user->username, $this->mailData['text']), $this->mailData['from']); if ($this->mailData['enableHTML']) $mail->setContentType('text/html'); + $mail->setLanguage($user->getLanguage()); $mail->send(); } catch (SystemException $e) {