Skip to content

Commit

Permalink
Fix #361
Browse files Browse the repository at this point in the history
  • Loading branch information
bbalet committed Apr 30, 2023
1 parent 93634b7 commit 8983c52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/core/Output.php
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ public function _display($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 = $output ? str_replace(array('{elapsed_time}', '{memory_usage}'), array($elapsed, $memory), $output): "";
}

// --------------------------------------------------------------------
Expand Down

0 comments on commit 8983c52

Please sign in to comment.