Index: trunk/extensions/FlaggedRevs/FlaggedRevs.class.php |
— | — | @@ -941,7 +941,7 @@ |
942 | 942 | */ |
943 | 943 | public static function getRevQuality( $page_id, $rev_id, $flags=0 ) { |
944 | 944 | $db = ($flags & GAID_FOR_UPDATE) ? wfGetDB( DB_MASTER ) : wfGetDB( DB_SLAVE ); |
945 | | - return (int)$db->selectField( 'flaggedrevs', |
| 945 | + return $db->selectField( 'flaggedrevs', |
946 | 946 | 'fr_quality', |
947 | 947 | array( 'fr_page_id' => $page_id, 'fr_rev_id' => $rev_id ), |
948 | 948 | __METHOD__, |