Include EmailTemplateEngine in WCF::setLanguageID()
authorTim Düsterhus <duesterhus@woltlab.com>
Sun, 5 Jun 2016 19:47:22 +0000 (21:47 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Thu, 28 Jul 2016 20:06:18 +0000 (22:06 +0200)
wcfsetup/install/files/lib/system/WCF.class.php

index fc6cc3ba8d091b054a13915b7c803e67c4be09b3..874db871028b6c0cfb6f772cb68c2dc5065cc202 100644 (file)
@@ -668,6 +668,7 @@ class WCF {
                
                self::$languageObj = LanguageFactory::getInstance()->getLanguage($languageID);
                self::getTPL()->setLanguageID(self::getLanguage()->languageID);
+               EmailTemplateEngine::getInstance()->setLanguageID(self::getLanguage()->languageID);
        }
        
        /**