From 00a80bab2c47d819b8ff31e9212926be9d756862 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Wed, 30 Jun 2010 23:08:41 +0000 Subject: [PATCH] 0="something" is not what we want here, we want id Html should probably check for the case of missing keys in attributes. --- 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 31a1ce83a9..303012786e 100644 --- a/includes/specials/SpecialListfiles.php +++ b/includes/specials/SpecialListfiles.php @@ -204,7 +204,7 @@ class ImageListPager extends TablePager { ) ); $s = Html::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript, 'id' => 'mw-listfiles-form' ) ) . Xml::fieldset( wfMsg( 'listfiles' ) ) . - Html::openElement( 'table', array( 'mw-listfiles-table' ) ) . + Html::openElement( 'table', array( 'id' => 'mw-listfiles-table' ) ) . Xml::buildForm( $inputForm, 'table_pager_limit_submit' ) . $this->getHiddenFields( array( 'limit', 'ilsearch', 'username' ) ) . Html::closeElement( 'table' ) . -- 2.20.1