r40347 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40346‎ | r40347 | r40348 >
Date:23:19, 2 September 2008
Author:aaron
Status:old
Tags:
Comment:
fix var name
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php
@@ -1128,11 +1128,11 @@
11291129 list($ignoreRedirect,$target) = $data->value;
11301130 return true;
11311131 }
1132 - if( $srev = $flaggedArticle->getStableRev() ) {
 1132+ if( $srev = $fa->getStableRev() ) {
11331133 # If synced, nothing special here...
11341134 if( $srev->getRevId() != $title->getLatestRevID() && $fa->pageOverride() ) {
11351135 $text = $srev->getRevText();
1136 - $redirect = $flaggedArticle->followRedirectText( $text );
 1136+ $redirect = $fa->followRedirectText( $text );
11371137 if( $redirect ) {
11381138 $target = $redirect;
11391139 } else {