r34657 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r34656‎ | r34657 | r34658 >
Date:13:18, 12 May 2008
Author:aaron
Status:old
Tags:
Comment:
Fix crap query
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevision.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevision.php
@@ -171,7 +171,8 @@
172172 $dbw = wfGetDB( DB_MASTER );
173173 $row = $dbw->selectRow( 'flaggedrevs',
174174 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 ),
176177 __METHOD__ );
177178 // WTF ???
178179 if( !$row ) {

Status & tagging log