adding test

pull/814/head
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
1 changed files with 5 additions and 3 deletions

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>';
}
}
}