From: Alexander Ebert Date: Sun, 18 Nov 2012 21:59:58 +0000 (+0100) Subject: Assigning template name after automatic guessing X-Git-Tag: 2.0.0_Beta_1~772 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d8cd853c6501b4f07c0917c9e335c101e830ecdf;p=GitHub%2FWoltLab%2FWCF.git Assigning template name after automatic guessing Fixes #913 --- 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) {