[rendertime] Fix empty minimal_time

This commit is contained in:
Philipp Holzer 2022-11-28 19:51:56 +01:00
parent 25bcbabb58
commit 3b7d4ce600
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432

View file

@ -89,7 +89,7 @@ function rendertime_page_end(App $a, string &$o)
if ($profiler->isRendertime()) {
$o .= '<pre>';
$o .= $profiler->getRendertimeString(DI::config()->get('rendertime', 'minimal_time', 0));
$o .= $profiler->getRendertimeString(floatval(DI::config()->get('rendertime', 'minimal_time', 0)));
$o .= '</pre>';
}
}