r81479 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81478‎ | r81479 | r81480 >
Date:19:34, 3 February 2011
Author:aaron
Status:ok
Tags:
Comment:
(bug 27129) Another fix to the same comparison in addToChangeListLine()
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php
@@ -1690,7 +1690,9 @@
16911691 $css = 'flaggedrevs-unreviewed';
16921692 }
16931693 // page is reviewed and has pending edits (use timestamps; bug 15515)
1694 - } elseif ( $rc->mAttribs['rc_timestamp'] >= $rc->mAttribs['fp_pending_since'] ) {
 1694+ } elseif ( isset( $rc->mAttribs['fp_pending_since'] ) &&
 1695+ $rc->mAttribs['rc_timestamp'] >= $rc->mAttribs['fp_pending_since'] )
 1696+ {
16951697 $rlink = $list->skin->link(
16961698 $title,
16971699 wfMsgHtml( 'revreview-reviewlink' ),

Status & tagging log