Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -1640,15 +1640,15 @@ |
1641 | 1641 | if ( !$fa->isReviewable() ) { |
1642 | 1642 | return true; // nothing to do here |
1643 | 1643 | } |
1644 | | - $title = $history->getArticle()->getTitle(); |
1645 | 1644 | # Fetch and process cache the stable revision |
1646 | 1645 | if ( !isset( $history->fr_stableRevId ) ) { |
1647 | 1646 | $history->fr_stableRevId = $fa->getStable(); |
1648 | 1647 | $history->fr_pendingRevs = false; |
1649 | | - if ( !$history->fr_stableRevId ) { |
1650 | | - return true; // nothing to do here |
1651 | | - } |
1652 | 1648 | } |
| 1649 | + if ( !$history->fr_stableRevId ) { |
| 1650 | + return true; // nothing to do here |
| 1651 | + } |
| 1652 | + $title = $history->getArticle()->getTitle(); |
1653 | 1653 | $revId = (int)$row->rev_id; |
1654 | 1654 | // Pending revision: highlight and add diff link |
1655 | 1655 | $link = $class = ''; |