From d8cd853c6501b4f07c0917c9e335c101e830ecdf Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sun, 18 Nov 2012 22:59:58 +0100 Subject: [PATCH] Assigning template name after automatic guessing Fixes #913 --- wcfsetup/install/files/lib/page/AbstractPage.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wcfsetup/install/files/lib/page/AbstractPage.class.php b/wcfsetup/install/files/lib/page/AbstractPage.class.php index 712c4ffece..7d5cd2c886 100644 --- a/wcfsetup/install/files/lib/page/AbstractPage.class.php +++ b/wcfsetup/install/files/lib/page/AbstractPage.class.php @@ -179,6 +179,9 @@ abstract class AbstractPage implements IPage, ITrackablePage { } $this->templateName = lcfirst($className); + + // assign guessed template name + WCF::getTPL()->assign('templateName', $this->templateName); } if ($this->useTemplate) { -- 2.20.1