From: Aryeh Gregor Date: Wed, 30 Jun 2010 23:08:41 +0000 (+0000) Subject: 0="something" is not what we want here, we want id X-Git-Tag: 1.31.0-rc.0~36325 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=00a80bab2c47d819b8ff31e9212926be9d756862;p=lhc%2Fweb%2Fwiklou.git 0="something" is not what we want here, we want id Html should probably check for the case of missing keys in attributes. --- 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' ) .