summaryrefslogtreecommitdiff
path: root/includes/pages/admin_active.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/pages/admin_active.php')
-rw-r--r--includes/pages/admin_active.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/pages/admin_active.php b/includes/pages/admin_active.php
index f3a28061..6a9e96ce 100644
--- a/includes/pages/admin_active.php
+++ b/includes/pages/admin_active.php
@@ -182,7 +182,7 @@ function admin_active()
$usr['nick'] = User_Nick_render($usr);
$usr['shirt_size'] = $tshirt_sizes[$usr['Size']];
$usr['work_time'] = round($usr['shift_length'] / 60)
- . ' min (' . round($usr['shift_length'] / 3600) . ' h)';
+ . ' min (' . sprintf('%.2f', $usr['shift_length'] / 3600) . ' h)';
$usr['active'] = glyph_bool($usr['Aktiv'] == 1);
$usr['force_active'] = glyph_bool($usr['force_active'] == 1);
$usr['tshirt'] = glyph_bool($usr['Tshirt'] == 1);