From 88c7763b4832ad14b4ff1381d0f158204eb0bb6f Mon Sep 17 00:00:00 2001 From: Christian Mohr Date: Wed, 3 Jan 2018 18:46:18 +0100 Subject: reproduce caching behaviour for nested view() calls Signed-off-by: Christian Mohr --- system/core/Loader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/core/Loader.php b/system/core/Loader.php index 3506a0ef1..e75578ae8 100644 --- a/system/core/Loader.php +++ b/system/core/Loader.php @@ -960,7 +960,7 @@ class CI_Loader { // push current _ci_vars state to stack and extract it array_push($this->_ci_vars_stack, $_ci_vars); - extract($this->_ci_cached_vars); + extract($_ci_vars); /** * Buffer the output -- cgit v1.2.3-24-g4f1b