From: Marcel Werk Date: Fri, 4 Nov 2011 14:34:28 +0000 (+0100) Subject: Fixed a language cache issue X-Git-Tag: 2.0.0_Beta_1~1620 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=54817ca11b246c89627545db1ffa6c89702fbf0e;p=GitHub%2FWoltLab%2FWCF.git Fixed a language cache issue --- diff --git a/wcfsetup/install/files/lib/data/language/Language.class.php b/wcfsetup/install/files/lib/data/language/Language.class.php index ae0ca373d9..a1b0f02102 100644 --- a/wcfsetup/install/files/lib/data/language/Language.class.php +++ b/wcfsetup/install/files/lib/data/language/Language.class.php @@ -180,4 +180,8 @@ class Language extends DatabaseObject { setlocale(LC_COLLATE, $this->get('wcf.global.locale.unix').'.UTF-8', $this->get('wcf.global.locale.unix'), $this->get('wcf.global.locale.win')); setlocale(LC_CTYPE, $this->get('wcf.global.locale.unix').'.UTF-8', $this->get('wcf.global.locale.unix'), $this->get('wcf.global.locale.win')); } + + public function __wakeup() { + $this->packageID = PACKAGE_ID; + } }