Skip to content

Commit 97ab5c0

Browse files
authored
Fixes "Illegal string offset" in PHP 7.1.
1 parent 04e983c commit 97ab5c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Profiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ function _compile_userdata()
565565
*/
566566
public function _compile_view_data()
567567
{
568-
$output = '';
568+
$output = array();
569569

570570
foreach ($this->_ci_cached_vars as $key => $val)
571571
{

0 commit comments

Comments
 (0)