From f19681ecd53b623d16d92adbf6b74993dad6b68c Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 9 Feb 2012 14:45:59 +0100 Subject: [PATCH] Fixed wrong template name passed to compileString() --- .../lib/system/template/TemplateScriptingCompiler.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1