php - reverse/correct the web page calculation on orphans
This commit is contained in:
parent
5e59102ba2
commit
f4d47c3cb3
@ -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…
Reference in New Issue
Block a user