adding test

This commit is contained in:
Philipp Holzer 2019-02-20 17:20:16 +01:00
parent 51d89255cc
commit a5d77d4413
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5

View file

@ -54,8 +54,10 @@ function rendertime_page_end(&$a, &$o)
//round($profiler->get('plugin'), 3)
) . '</div>';
$o .= '<pre>';
$o .= $profiler->getRendertimeString();
$o .= '</pre>';
if ($profiler->isRendertime()) {
$o .= '<pre>';
$o .= $profiler->getRendertimeString();
$o .= '</pre>';
}
}
}