Skip to content

Commit

Permalink
Merge pull request #2509 from MGatner/revert-view-layout
Browse files Browse the repository at this point in the history
Revert Renderer section reset
  • Loading branch information
MGatner authored Jan 23, 2020
2 parents fc195f7 + 163b3a4 commit acae11b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions system/View/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,6 @@ public function render(string $view, array $options = null, bool $saveData = nul
$output = $this->render($layoutView, $options, $saveData);
}

// Reset sections
$this->sections = [];

$this->logPerformance($this->renderVars['start'], microtime(true), $this->renderVars['view']);

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

0 comments on commit acae11b

Please sign in to comment.