Index: trunk/extensions/FlaggedRevs/FlaggedRevision.php |
— | — | @@ -171,7 +171,8 @@ |
172 | 172 | $dbw = wfGetDB( DB_MASTER ); |
173 | 173 | $row = $dbw->selectRow( 'flaggedrevs', |
174 | 174 | array( 'fr_text', 'fr_flags' ), |
175 | | - array( 'fr_rev_id' => $this->mRevId ), |
| 175 | + array( 'fr_rev_id' => $this->mRevId, |
| 176 | + 'fr_page_id' => $this->mPageId ), |
176 | 177 | __METHOD__ ); |
177 | 178 | // WTF ??? |
178 | 179 | if( !$row ) { |