From 40f6d722892ae3dfdcfe2d7b6d68fabcd010ced2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Magnus=20K=C3=BChn?= Date: Sun, 4 Mar 2012 17:27:46 +0100 Subject: [PATCH] Fixed templateGroups --- .../files/lib/system/template/TemplateEngine.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 wcfsetup/install/files/lib/system/template/TemplateEngine.class.php diff --git a/wcfsetup/install/files/lib/system/template/TemplateEngine.class.php b/wcfsetup/install/files/lib/system/template/TemplateEngine.class.php old mode 100644 new mode 100755 index ac2ee04b73..0d410a9723 --- a/wcfsetup/install/files/lib/system/template/TemplateEngine.class.php +++ b/wcfsetup/install/files/lib/system/template/TemplateEngine.class.php @@ -373,12 +373,12 @@ class TemplateEngine extends SingletonFactory { while ($templateGroupID != 0) { $templateGroup = $this->templateGroupCache[$templateGroupID]; - $path = $templatePath.$templateGroup['templateGroupFolderName'].$templateName.'.tpl'; + $path = $templatePath.$templateGroup->templateGroupFolderName.$templateName.'.tpl'; if (file_exists($path)) { return $path; } - $templateGroupID = $templateGroup['parentTemplateGroupID']; + $templateGroupID = $templateGroup->parentTemplateGroupID; } // use default template -- 2.20.1