Browse Source

Fixed wrong time calculation.

master
Carles Tubio 8 years ago
parent
commit
85479a7607
  1. 2
      pool/page.php

2
pool/page.php

@ -246,7 +246,7 @@ function pgtop($alert_marker, $info, $dotop, $user, $douser)
if ($nlb != '?') if ($nlb != '?')
{ {
$sec = $now - $nlb; $sec = $now - $nlb;
$min = round($sec / 60); $min = floor($sec / 60);
$nlb = $min.'m'; $nlb = $min.'m';
$s = $sec - $min * 60; $s = $sec - $min * 60;
if ($s > 0) if ($s > 0)

Loading…
Cancel
Save