aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authork4be <k4be+gogs@k4be.pl>2023-10-29 12:14:09 +0100
committerk4be <k4be+gogs@k4be.pl>2023-10-29 12:14:09 +0100
commit3d885eaa50a1ed7d179124fa08925c295b9940ae (patch)
tree23ff658b9fb50bd62e89d3a88361cd6f29889e31
parent99ae1c8a79a84c17e5e9b6f1c44e1fbf4699f974 (diff)
downloadstikked-fit-3d885eaa50a1ed7d179124fa08925c295b9940ae.tar.gz
stikked-fit-3d885eaa50a1ed7d179124fa08925c295b9940ae.tar.bz2
stikked-fit-3d885eaa50a1ed7d179124fa08925c295b9940ae.zip
Fix /cron for php8
-rw-r--r--htdocs/system/core/Output.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/htdocs/system/core/Output.php b/htdocs/system/core/Output.php
index 3cda062..9bb9066 100644
--- a/htdocs/system/core/Output.php
+++ b/htdocs/system/core/Output.php
@@ -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 = $output ? str_replace(array('{elapsed_time}', '{memory_usage}'), array($elapsed, $memory), $output) : '';
}
// --------------------------------------------------------------------

© 2014-2024 Faster IT GmbH | imprint | privacy policy