Index: trunk/extensions/ContributionReporting/ContributionStatistics_body.php |
— | — | @@ -414,6 +414,7 @@ |
415 | 415 | // Merge null and USD |
416 | 416 | $totals['USD'][1] += $totals[null][1]; |
417 | 417 | $totals['USD'][2] += $totals[null][2]; |
| 418 | + $totals['USD'][3] = ( $totals[null][3] == 0 ) ? $totals['USD'][3] : ( $totals['USD'][3] + $totals[null][3] ) / 2; |
418 | 419 | $totals['USD'][3] = ( $totals['USD'][3] + $totals[null][3] ) / 2; |
419 | 420 | $totals['USD'][4] = max( $totals['USD'][4], $totals[null][4] ); |
420 | 421 | /* $totals['USD'][5] = min( $totals['USD'][5], $totals[null][5] ); */ |