Index: trunk/extensions/FlaggedRevs/FlaggedRevision.php |
— | — | @@ -105,7 +105,7 @@ |
106 | 106 | return null; |
107 | 107 | } else { |
108 | 108 | # Get visiblity settings... |
109 | | - $config = FlaggedRevs::getPageVisibilitySettings( $title, $forUpdate ); |
| 109 | + $config = FlaggedRevs::getPageVisibilitySettings( $title, $flags & FR_FOR_UPDATE ); |
110 | 110 | $dbw = wfGetDB( DB_MASTER ); |
111 | 111 | # Look for the latest pristine revision... |
112 | 112 | if( FlaggedRevs::pristineVersions() && $config['select'] != FLAGGED_VIS_LATEST ) { |