Commit 4edd235b authored by Nigel McNie's avatar Nigel McNie
Browse files

Round the displayed execution time to 3dp.

parent 026d071e
......@@ -30,6 +30,9 @@ function smarty_function_mahara_performance_info($params, &$smarty) {
$smarty = smarty_core();
foreach ($info as $key => $value) {
if ($key == 'realtime') {
$value = round($value, 3);
}
$smarty->assign('perf_' . $key, $value);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment