We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 327d493 commit d35ffddCopy full SHA for d35ffdd
files/lib/system/content/type/TemplateContentType.class.php
@@ -53,7 +53,8 @@ public function validate($data) {
53
* @see \cms\system\content\type\IContentType::getOutput()
54
*/
55
public function getOutput(Content $content) {
56
- if (empty($content->compiled[WCF::getLanguage()->languageCode])) {
+ $compiled = $content->compiled;
57
+ if (empty($compiled[WCF::getLanguage()->languageCode])) {
58
$compiled = WCF::getTPL()->getCompiler()->compileString('de.codequake.cms.content.type.template' . $content->contentID, $content->text);
59
60
$contentData = $content->contentData;
0 commit comments