mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02:00
Fixed the {if} failures.
This commit is contained in:
@@ -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();
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user