r68547 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r68546‎ | r68547 | r68548 >
Date:03:00, 25 June 2010
Author:demon
Status:ok
Tags:
Comment:
Fix E_NOTICE about $pages not being defined
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php
@@ -1318,6 +1318,7 @@
13191319 $totalCheckedEditsNeeded = true;
13201320 }
13211321 # Check if user edited enough unique pages
 1322+ $pages = explode( ',', trim( $p['uniqueContentPages'] ) ); // page IDs
13221323 if ( $wgFlaggedRevsAutopromote['uniqueContentPages'] > count( $pages ) ) {
13231324 return true;
13241325 }

Status & tagging log