Index: trunk/extensions/ProofreadPage/ProofreadPage_body.php |
— | — | @@ -1316,7 +1316,7 @@ |
1317 | 1317 | * @return int |
1318 | 1318 | */ |
1319 | 1319 | function query_count( $dbr, $query, $cat ) { |
1320 | | - $query['conds']['cl_to'] = $str_replace( ' ' , '_' , wfMsgForContent( $cat ) ); |
| 1320 | + $query['conds']['cl_to'] = str_replace( ' ' , '_' , wfMsgForContent( $cat ) ); |
1321 | 1321 | $res = $dbr->select( $query['tables'], $query['fields'], $query['conds'], __METHOD__, array(), $query['joins'] ); |
1322 | 1322 | |
1323 | 1323 | if( $res && $dbr->numRows( $res ) > 0 ) { |