Index: branches/REL1_18/extensions/FlaggedRevs/dataclasses/FlaggedRevsStats.php |
— | — | @@ -327,8 +327,8 @@ |
328 | 328 | $secondsR = 0; // total wait seconds for edits later reviewed |
329 | 329 | $secondsP = 0; // total wait seconds for edits still pending |
330 | 330 | $aveRT = $medianRT = 0; |
| 331 | + $times = array(); |
331 | 332 | if ( $dbr->numRows( $res ) ) { |
332 | | - $times = array(); |
333 | 333 | # Get the elapsed times revs were pending (flagged time - edit time) |
334 | 334 | foreach ( $res as $row ) { |
335 | 335 | $time = wfTimestamp(TS_UNIX,$row->nft) - wfTimestamp(TS_UNIX,$row->rt); |