Fixed the {if} failures.

This commit is contained in:
Simon Wisselink
2023-01-23 15:34:29 +01:00
parent 68c59e6627
commit 3922c1eb1e

View File

@@ -316,14 +316,7 @@ class Template extends TemplateBase {
$smarty->getDebug()->end_render($tpl); $smarty->getDebug()->end_render($tpl);
} }
} else { } else {
$tpl->getCompiled()->render($tpl); $tpl->render();
// @TODO: this used to be like this. Might cause a bug.
// if (isset($tpl->compiled)) {
// $tpl->getCompiled()->render($tpl);
// } else {
// $tpl->render();
// }
} }
} }