r112740 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112739‎ | r112740 | r112741 >
Date:23:32, 29 February 2012
Author:reedy
Status:ok
Tags:
Comment:
Fix the utter fail of r112739
Modified paths:
  • /trunk/extensions/Collection/Collection.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Collection/Collection.body.php
@@ -1145,7 +1145,7 @@
11461146 }
11471147
11481148 $revision = Revision::newFromTitle( $title, $oldid );
1149 - if ( $title ) {
 1149+ if ( $revision ) {
11501150 $article['timestamp'] = wfTimestamp( TS_UNIX, $revision->getTimestamp() );
11511151 }
11521152

Follow-up revisions

RevisionCommit summaryAuthorDate
r112741MFT r112739, r112740reedy23:34, 29 February 2012

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r112739Fatal error: Call to a member function getTimestamp() on a non-object in /us...reedy23:30, 29 February 2012

Status & tagging log