Browse Source

php - reverse/correct the web page calculation on orphans

master
kanoi 10 years ago
parent
commit
f4d47c3cb3
  1. 4
      pool/page_blocks.php

4
pool/page_blocks.php

@ -89,9 +89,9 @@ function doblocks($data, $user)
list($fg, $bg) = pctcolour($pct); list($fg, $bg) = pctcolour($pct);
$bpct = "<font color=$fg>".number_format($pct, 2).'%</font>'; $bpct = "<font color=$fg>".number_format($pct, 2).'%</font>';
$bg = " bgcolor=$bg"; $bg = " bgcolor=$bg";
$nettot += $netdiff; $blktot += $diffacc;
if ($stat != 'Orphan') if ($stat != 'Orphan')
$blktot += $diffacc; $nettot += $netdiff;
} }
else else
{ {

Loading…
Cancel
Save