From 85479a76079125e6d4bd825eabfcb0d2b8c94b45 Mon Sep 17 00:00:00 2001 From: Carles Tubio Date: Sun, 17 Jul 2016 01:45:18 +0000 Subject: [PATCH] Fixed wrong time calculation. --- pool/page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pool/page.php b/pool/page.php index d7560284..5a556525 100644 --- a/pool/page.php +++ b/pool/page.php @@ -246,7 +246,7 @@ function pgtop($alert_marker, $info, $dotop, $user, $douser) if ($nlb != '?') { $sec = $now - $nlb; - $min = round($sec / 60); + $min = floor($sec / 60); $nlb = $min.'m'; $s = $sec - $min * 60; if ($s > 0)