Skip to content

Commit 262f16b

Browse files
norbedg
authored andcommitted
SnippetRuntime: Fixed snippets rendering when multiple templates are rendered (#349)
1 parent cc93619 commit 262f16b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Bridges/ApplicationLatte/SnippetRuntime.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ public function renderSnippets(array $blocks, array $params): bool
118118

119119
$this->control->snippetMode = true;
120120
$this->renderChildren();
121+
122+
$this->renderingSnippets = false;
121123
return true;
122124
}
123125

0 commit comments

Comments
 (0)