diff options
author | Christian Mohr <christian.mohr@insitu.de> | 2018-01-03 19:43:02 +0100 |
---|---|---|
committer | Christian Mohr <christian.mohr@insitu.de> | 2018-01-03 19:43:02 +0100 |
commit | 79561aef771e6ccc323aa328f12826294a48724d (patch) | |
tree | 7a153f75ba2a7d5e471bc0960f1311b79e6f3156 /system | |
parent | 88c7763b4832ad14b4ff1381d0f158204eb0bb6f (diff) |
fixed case without parameter
Signed-off-by: Christian Mohr <christian.mohr@insitu.de>
Diffstat (limited to 'system')
-rw-r--r-- | system/core/Loader.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/system/core/Loader.php b/system/core/Loader.php index e75578ae8..07e572950 100644 --- a/system/core/Loader.php +++ b/system/core/Loader.php @@ -950,6 +950,11 @@ class CI_Loader { * other views can have access to these variables. */ + // init current _ci_vars + if (!is_array($_ci_vars)) { + $_ci_vars = []; + } + // merge with global cached vars (first call) or last state from nested // call stack (subsequent nested calls) if (!empty($this->_ci_vars_stack)) { |