mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 16:03:15 +00:00
Merge pull request #1323 from nupplaphil/bug/rendertime
[rendertime] Fix empty minimal_time
This commit is contained in:
commit
666d559e72
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ function rendertime_page_end(App $a, string &$o)
|
||||||
|
|
||||||
if ($profiler->isRendertime()) {
|
if ($profiler->isRendertime()) {
|
||||||
$o .= '<pre>';
|
$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>';
|
$o .= '</pre>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue