php - display full accurate Network, Last Block

This commit is contained in:
kanoi 2014-06-19 14:20:10 +10:00
parent 04bcfb6e89
commit 036e1b8143

View File

@ -180,10 +180,10 @@ function pgtop($dotop, $user, $douser)
{
$sec = $now - $info['lastlp'];
$min = round($sec / 60);
$nlb = '~'.$min.'m';
# $s = $sec % 60;
# if ($s > 0)
# $nlb .= " ${s}s";
$nlb = $min.'m';
$s = $sec % 60;
if ($s > 0)
$nlb .= " ${s}s";
}
}