Index: trunk/extensions/AbuseFilter/SpecialAbuseFilter.php |
— | — | @@ -313,7 +313,8 @@ |
314 | 314 | |
315 | 315 | // We shouldn't have more than 100 filters, so don't bother paging. |
316 | 316 | $dbr = wfGetDB( DB_SLAVE ); |
317 | | - $res = $dbr->select( array('abuse_filter', 'abuse_filter_action'), 'abuse_filter.*,group_concat(afa_consequence) AS consequences', array( ), __METHOD__, array( 'LIMIT' => 100, 'GROUP BY' => 'af_id' ), |
| 317 | + $abuse_filter = $dbr->tableName( 'abuse_filter' ); |
| 318 | + $res = $dbr->select( array('abuse_filter', 'abuse_filter_action'), $abuse_filter.'.*,group_concat(afa_consequence) AS consequences', array( ), __METHOD__, array( 'LIMIT' => 100, 'GROUP BY' => 'af_id' ), |
318 | 319 | array( 'abuse_filter_action' => array('LEFT OUTER JOIN', 'afa_filter=af_id' ) ) ); |
319 | 320 | $list = ''; |
320 | 321 | $editLabel = $this->canEdit() ? 'abusefilter-list-edit' : 'abusefilter-list-details'; |