Skip to content

Commit acae11b

Browse files
authored
Merge pull request #2509 from MGatner/revert-view-layout
Revert Renderer section reset
2 parents fc195f7 + 163b3a4 commit acae11b

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

system/View/View.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,9 +247,6 @@ public function render(string $view, array $options = null, bool $saveData = nul
247247
$output = $this->render($layoutView, $options, $saveData);
248248
}
249249

250-
// Reset sections
251-
$this->sections = [];
252-
253250
$this->logPerformance($this->renderVars['start'], microtime(true), $this->renderVars['view']);
254251

255252
if ($this->debug && (! isset($options['debug']) || $options['debug'] === true))

0 commit comments

Comments
 (0)