From: Aaron Schulz Date: Wed, 18 Feb 2009 03:12:26 +0000 (+0000) Subject: Fixed E_NOTICE X-Git-Tag: 1.31.0-rc.0~42819 X-Git-Url: http://git.cyclocoop.org/%22%40url%40/%24self?a=commitdiff_plain;h=18bff5deff5f9537685eef2cd6a2808007a45ed7;p=lhc%2Fweb%2Fwiklou.git Fixed E_NOTICE --- diff --git a/includes/Xml.php b/includes/Xml.php index 40a5a3038f..bbe0717c80 100644 --- a/includes/Xml.php +++ b/includes/Xml.php @@ -671,7 +671,6 @@ class Xml { foreach( $fields as $labelmsg => $input ) { $id = "mw-$labelmsg"; - $form .= Xml::openElement( 'tr', array( 'id' => $id ) ); $form .= Xml::tags( 'td', array('class' => 'mw-label'), wfMsgExt( $labelmsg, array('parseinline') ) ); $form .= Xml::openElement( 'td', array( 'class' => 'mw-input' ) ) . $input . Xml::closeElement( 'td' ); @@ -679,7 +678,7 @@ class Xml { } if( $submitLabel ) { - $form .= Xml::openElement( 'tr', array( 'id' => $id ) ); + $form .= Xml::openElement( 'tr' ); $form .= Xml::tags( 'td', array(), '' ); $form .= Xml::openElement( 'td', array( 'class' => 'mw-submit' ) ) . Xml::submitButton( wfMsg( $submitLabel ) ) . Xml::closeElement( 'td' ); $form .= Xml::closeElement( 'tr' );