* (bug 6627) Fix regression in Special:Ipblocklist with table prefix
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 11 Jul 2006 04:02:56 +0000 (04:02 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 11 Jul 2006 04:02:56 +0000 (04:02 +0000)
RELEASE-NOTES
includes/SpecialIpblocklist.php

index f67cbfb..58f1621 100644 (file)
@@ -48,6 +48,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 6299) Maintain parser's revision ID across recursive calls to fix
   {{REVISIONID}} when Cite extension is used
 * (bug 6622) Removed deprecated function image::newFromTitle
+* (bug 6627) Fix regression in Special:Ipblocklist with table prefix
 
 
 == Languages updated ==
index 024385b..b1cf1f4 100644 (file)
@@ -336,7 +336,7 @@ class IPBlocklistPager extends ReverseChronologicalPager {
                $conds[] = 'ipb_by=user_id';
                return array(
                        'tables' => array( 'ipblocks', 'user' ),
-                       'fields' => 'ipblocks.*,user_name',
+                       'fields' => $this->mDb->tableName( 'ipblocks' ) . '.*,user_name',
                        'conds' => $conds,
                );
        }