Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -237,7 +237,7 @@ |
238 | 238 | wfMsgNoTrans( 'undo-success' ) . '</div>', true, /* interface */true ); |
239 | 239 | $firstrev = $oldrev->getNext(); |
240 | 240 | # If we just undid one rev, use an autosummary |
241 | | - if ( $firstrev->mId == $undo ) { |
| 241 | + if ( $firstrev->getId() == $undo ) { |
242 | 242 | $undoSummary = wfMsgForContent( 'undo-summary', $undo, $undorev->getUserText() ); |
243 | 243 | if ( $this->summary === '' ) { |
244 | 244 | $this->summary = $undoSummary; |