From: Alexander Ebert Date: Thu, 9 Feb 2012 13:45:59 +0000 (+0100) Subject: Fixed wrong template name passed to compileString() X-Git-Tag: 2.0.0_Beta_1~1358^2~25 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f19681ecd53b623d16d92adbf6b74993dad6b68c;p=GitHub%2FWoltLab%2FWCF.git Fixed wrong template name passed to compileString() --- diff --git a/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php b/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php index 47bee243ec..3bef6a5d23 100644 --- a/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php +++ b/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php @@ -799,7 +799,7 @@ class TemplateScriptingCompiler { $sourceFilename = WCF::getTPL()->getSourceFilename($templateName, $tplPackageID); $metaDataFilename = WCF::getTPL()->getMetaDataFilename($templateName, $tplPackageID); - $data = $this->compileString($identifier, file_get_contents($sourceFilename), array( + $data = $this->compileString($templateName, file_get_contents($sourceFilename), array( 'data' => null, 'filename' => '', 'packageID' => $tplPackageID