From 54817ca11b246c89627545db1ffa6c89702fbf0e Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 4 Nov 2011 15:34:28 +0100 Subject: [PATCH] Fixed a language cache issue --- wcfsetup/install/files/lib/data/language/Language.class.php | 4 ++++ 1 file changed, 4 insertions(+) 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; + } } -- 2.20.1