Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -1128,11 +1128,11 @@ |
1129 | 1129 | list($ignoreRedirect,$target) = $data->value; |
1130 | 1130 | return true; |
1131 | 1131 | } |
1132 | | - if( $srev = $flaggedArticle->getStableRev() ) { |
| 1132 | + if( $srev = $fa->getStableRev() ) { |
1133 | 1133 | # If synced, nothing special here... |
1134 | 1134 | if( $srev->getRevId() != $title->getLatestRevID() && $fa->pageOverride() ) { |
1135 | 1135 | $text = $srev->getRevText(); |
1136 | | - $redirect = $flaggedArticle->followRedirectText( $text ); |
| 1136 | + $redirect = $fa->followRedirectText( $text ); |
1137 | 1137 | if( $redirect ) { |
1138 | 1138 | $target = $redirect; |
1139 | 1139 | } else { |