From 5627a648da107cebda204c913914895afdee3232 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 20 Sep 2012 17:00:19 +0200 Subject: [PATCH] Fixed passed object --- wcfsetup/install/files/lib/system/style/StyleHandler.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/style/StyleHandler.class.php b/wcfsetup/install/files/lib/system/style/StyleHandler.class.php index 2772c8ad5d..350b3cdbb9 100644 --- a/wcfsetup/install/files/lib/system/style/StyleHandler.class.php +++ b/wcfsetup/install/files/lib/system/style/StyleHandler.class.php @@ -134,7 +134,7 @@ class StyleHandler extends SingletonFactory { // frontend $filename = 'style/style-'.ApplicationHandler::getInstance()->getPrimaryApplication()->packageID.'-'.$this->getStyle()->styleID.'.css'; if (!file_exists(WCF_DIR.$filename)) { - StyleCompiler::getInstance()->compile($this->getStyle()); + StyleCompiler::getInstance()->compile($this->getStyle()->getDecoratedObject()); } } -- 2.20.1