Index: trunk/extensions/FlaggedRevs/specialpages/RatingHistory_body.php |
— | — | @@ -365,7 +365,6 @@ |
366 | 366 | // Label spacing |
367 | 367 | $int = intval( ceil($days/10) ); // 10 labels at most |
368 | 368 | while( $row = $res->fetchObject() ) { |
369 | | - $pts++; |
370 | 369 | $totalVal += (int)$row->rfh_total; |
371 | 370 | $totalCount += (int)$row->rfh_count; |
372 | 371 | $dayCount = (real)$row->rfh_count; |
— | — | @@ -405,6 +404,7 @@ |
406 | 405 | $lastDate = $row->rfh_date; |
407 | 406 | $lastDAve = $dayAve; |
408 | 407 | $lastRAve = $cumAve; |
| 408 | + $pts++; |
409 | 409 | } |
410 | 410 | // Minimum sample size |
411 | 411 | if( $pts < 2 ) { |