forked from mirrors/easyappointments
PHP 8.1 support (#1209)
This commit is contained in:
parent
10a5eb46f9
commit
068dd5f6af
1 changed files with 1 additions and 1 deletions
|
@ -454,7 +454,7 @@ class CI_Output {
|
|||
if ($this->parse_exec_vars === TRUE)
|
||||
{
|
||||
$memory = round(memory_get_usage() / 1024 / 1024, 2).'MB';
|
||||
$output = str_replace(array('{elapsed_time}', '{memory_usage}'), array($elapsed, $memory), $output);
|
||||
$output = str_replace(array('{elapsed_time}', '{memory_usage}'), array($elapsed, $memory), (string)$output);
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue