r90023 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90022‎ | r90023 | r90024 >
Date:00:18, 14 June 2011
Author:aaron
Status:ok
Tags:
Comment:
Fixed notice when $editInfo is null (fix for r88834)
Modified paths:
  • /trunk/extensions/FlaggedRevs/dataclasses/FlaggedRevs.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/dataclasses/FlaggedRevs.class.php
@@ -630,7 +630,7 @@
631631 );
632632 }
633633 # Update template/file version cache...
634 - if ( $sv->getRevId() != $editInfo->revid ) {
 634+ if ( $editInfo && $sv->getRevId() != $editInfo->revid ) {
635635 FRInclusionCache::setRevIncludes( $title, $editInfo->revid, $editInfo->output );
636636 }
637637 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r88834* Cache inclusion versions via onArticleEditUpdates hook...aaron20:42, 25 May 2011

Status & tagging log