Select proper db fields in AbuseFilterExaminePager

It queried the 'recentchanges' table with the fields from the 'revision'
table.

Bug: T175338
Change-Id: Ib232e49e3f59285c7f66cdb48c51fe4c97b53e15
This commit is contained in:
Antoine Musso 2017-09-08 14:41:19 +02:00
parent 3f4ba191f6
commit 3efdc518da

View file

@ -248,7 +248,7 @@ class AbuseFilterExaminePager extends ReverseChronologicalPager {
$info = [
'tables' => 'recentchanges',
'fields' => Revision::selectFields(),
'fields' => RecentChange::selectFields(),
'conds' => array_filter( $conds ),
'options' => [ 'ORDER BY' => 'rc_timestamp DESC' ],
];