diff options
author | Andrey Andreev <narf@devilix.net> | 2020-01-27 18:26:03 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2020-01-27 18:26:51 +0100 |
commit | 748b2280c63e994f4153bdafb683606df8213bc3 (patch) | |
tree | 3dd9c78ea95fc3eda36d6e7c71db3fcac372fa41 /system/libraries/Profiler.php | |
parent | 7911ed0bd42f1fa0ec985faf53eb7db7b7bc7c1b (diff) |
[ci skip] Fix #5879
Diffstat (limited to 'system/libraries/Profiler.php')
-rw-r--r-- | system/libraries/Profiler.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/system/libraries/Profiler.php b/system/libraries/Profiler.php index d7a171f26..e3c4bd10a 100644 --- a/system/libraries/Profiler.php +++ b/system/libraries/Profiler.php @@ -105,7 +105,7 @@ class CI_Profiler { { if ( ! isset($config[$section])) { - $this->_compile_{$section} = TRUE; + $this->{'_compile_'.$section} = TRUE; } } @@ -135,7 +135,7 @@ class CI_Profiler { { if (in_array($method, $this->_available_sections)) { - $this->_compile_{$method} = ($enable !== FALSE); + $this->{'_compile_'.$method} = ($enable !== FALSE); } } } @@ -554,7 +554,7 @@ class CI_Profiler { foreach ($this->_available_sections as $section) { - if ($this->_compile_{$section} !== FALSE) + if ($this->{'_compile_'.$section} !== FALSE) { $func = '_compile_'.$section; $output .= $this->{$func}(); |