From 3cd9b5a7d7e10c09c903d442d1898b59157c51b9 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sun, 13 Feb 2011 21:20:02 +0000 Subject: [PATCH] * (bug 27377) Fix Special:Listfile user selector when initial form parameters already set Follow-up to r68096: fix field name when blacklisting for hidden fields. The user field ended up getting copied into the hidden fields due to wrong name in the getHiddenFields() call. --- includes/specials/SpecialListfiles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialListfiles.php b/includes/specials/SpecialListfiles.php index 638d2de9b9..6155648055 100644 --- a/includes/specials/SpecialListfiles.php +++ b/includes/specials/SpecialListfiles.php @@ -213,7 +213,7 @@ class ImageListPager extends TablePager { Xml::fieldset( wfMsg( 'listfiles' ) ) . Html::openElement( 'table', array( 'id' => 'mw-listfiles-table' ) ) . Xml::buildForm( $inputForm, 'table_pager_limit_submit' ) . - $this->getHiddenFields( array( 'limit', 'ilsearch', 'username' ) ) . + $this->getHiddenFields( array( 'limit', 'ilsearch', 'user' ) ) . Html::closeElement( 'table' ) . Html::closeElement( 'fieldset' ) . Html::closeElement( 'form' ) . "\n"; -- 2.20.1