Index: trunk/extensions/ContributionReporting/ContributionTrackingStatistics_body.php |
— | — | @@ -47,10 +47,11 @@ |
48 | 48 | $current_day = new DateTime( "now" ); |
49 | 49 | ++$num_days; //really you probably don't want today |
50 | 50 | |
51 | | - for( $i = 0 ; $i < ($num_days - 1) ; $i++){ //you don't want today |
52 | | - $this->showDayTotals(false, $end_day->format("YmdHis")); //MW Format |
| 51 | + for( $i = 0 ; $i < ($num_days - 1) ; $i++){ //you don't want today |
53 | 52 | $current_day->modify("-1 day"); |
| 53 | + $this->showDayTotals(false, $current_day->format("YmdHis")); //MW Format |
54 | 54 | } |
| 55 | + |
55 | 56 | } |
56 | 57 | |
57 | 58 | |