http://www.mediawiki.org/wiki/Special:Code/MediaWiki/100536
Revision: 100536 Author: aaron Date: 2011-10-23 09:38:52 +0000 (Sun, 23 Oct 2011) Log Message: ----------- Use getId() accessors for Revision object (fixes fatal) Modified Paths: -------------- trunk/phase3/includes/EditPage.php Modified: trunk/phase3/includes/EditPage.php =================================================================== --- trunk/phase3/includes/EditPage.php 2011-10-23 09:36:35 UTC (rev 100535) +++ trunk/phase3/includes/EditPage.php 2011-10-23 09:38:52 UTC (rev 100536) @@ -237,7 +237,7 @@ wfMsgNoTrans( 'undo-success' ) . '</div>', true, /* interface */true ); $firstrev = $oldrev->getNext(); # If we just undid one rev, use an autosummary - if ( $firstrev->mId == $undo ) { + if ( $firstrev->getId() == $undo ) { $undoSummary = wfMsgForContent( 'undo-summary', $undo, $undorev->getUserText() ); if ( $this->summary === '' ) { $this->summary = $undoSummary; _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs