Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -1574,7 +1574,7 @@ |
1575 | 1575 | $unreviewed = $dbr->estimateRowCount( 'flaggedpages', '*', |
1576 | 1576 | 'fp_pending_since IS NOT NULL', __METHOD__ ); |
1577 | 1577 | } |
1578 | | - if( ($unreviewed/$pages) > .02 ) { |
| 1578 | + if( $pages > 0 && ($unreviewed/$pages) > .02 ) { |
1579 | 1579 | wfLoadExtensionMessages( 'FlaggedRevs' ); |
1580 | 1580 | $notice .= "<div id='mw-oldreviewed-notice' class='plainlinks fr-backlognotice'>" . |
1581 | 1581 | wfMsgExt('flaggedrevs-backlog',array('parseinline')) . "</div>"; |