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);
$bpct = "<font color=$fg>".number_format($pct, 2).'%</font>';
$bg = " bgcolor=$bg";
$nettot += $netdiff;
$blktot += $diffacc;
if ($stat != 'Orphan')
$blktot += $diffacc;
$nettot += $netdiff;
}
else
{

Loading…
Cancel
Save