From 18bff5deff5f9537685eef2cd6a2808007a45ed7 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 18 Feb 2009 03:12:26 +0000 Subject: [PATCH] Fixed E_NOTICE --- includes/Xml.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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' ); -- 2.20.1