From 163b3a4265b667f83a2cdb35af10ec51fa02009f Mon Sep 17 00:00:00 2001 From: MGatner Date: Thu, 23 Jan 2020 09:22:13 -0500 Subject: [PATCH] Revert "View Renderer - Reset sections after generating the ouput" This reverts commit 8c7d874136d86a9d989e8f3574fd5dd44d08666e. --- system/View/View.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/system/View/View.php b/system/View/View.php index 76c16504264d..eac90bb7ec4a 100644 --- a/system/View/View.php +++ b/system/View/View.php @@ -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))