mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-02 17:34:26 +02:00
Fix major {include} bug
This commit is contained in:
@@ -273,7 +273,7 @@ class Template extends TemplateBase {
|
||||
$tpl->config_vars = $this->config_vars;
|
||||
|
||||
// recursive call ?
|
||||
if ($tpl->getTemplateId() == $this->getTemplateId()) {
|
||||
if ($tpl->getTemplateId() !== $this->getTemplateId()) {
|
||||
|
||||
if (isset($uid) && $this->getCompiled()->file_dependency) {
|
||||
// for inline templates we can get all resource information from file dependency
|
||||
|
Reference in New Issue
Block a user