From: Tim Düsterhus Date: Sun, 5 Jun 2016 19:47:22 +0000 (+0200) Subject: Include EmailTemplateEngine in WCF::setLanguageID() X-Git-Tag: 3.0.0_Beta_1~916^2~15 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=10ae3eb824b7b2992503fd55dd49d00d17ec9c6d;p=GitHub%2FWoltLab%2FWCF.git Include EmailTemplateEngine in WCF::setLanguageID() --- diff --git a/wcfsetup/install/files/lib/system/WCF.class.php b/wcfsetup/install/files/lib/system/WCF.class.php index fc6cc3ba8d..874db87102 100644 --- a/wcfsetup/install/files/lib/system/WCF.class.php +++ b/wcfsetup/install/files/lib/system/WCF.class.php @@ -668,6 +668,7 @@ class WCF { self::$languageObj = LanguageFactory::getInstance()->getLanguage($languageID); self::getTPL()->setLanguageID(self::getLanguage()->languageID); + EmailTemplateEngine::getInstance()->setLanguageID(self::getLanguage()->languageID); } /**