r89155 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89154‎ | r89155 | r89156 >
Date:07:40, 30 May 2011
Author:aaron
Status:ok
Tags:
Comment:
Fixed bogus func call in getStableRevId()
Modified paths:
  • /trunk/extensions/FlaggedRevs/dataclasses/FlaggedRevision.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/dataclasses/FlaggedRevision.php
@@ -171,7 +171,7 @@
172172 */
173173 public static function getStableRevId( Title $title, $flags = 0 ) {
174174 $srev = self::newFromStable( $title, $flags );
175 - return $srev ? $srev->getId() : 0;
 175+ return $srev ? $srev->getRevId() : 0;
176176 }
177177
178178 /**

Status & tagging log