element->tags
authorAndrew Garrett <werdna@users.mediawiki.org>
Wed, 18 Feb 2009 05:19:55 +0000 (05:19 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Wed, 18 Feb 2009 05:19:55 +0000 (05:19 +0000)
includes/EditPage.php

index 1f311c1..d896026 100644 (file)
@@ -1344,7 +1344,7 @@ class EditPage {
                        $commentsubject = '';
                        if ( !$wgRequest->getBool( 'nosummary' ) ) {
                                $commentsubject =
-                                       Xml::element( 'label', array( 'for' => 'wpSummary' ), $subject );
+                                       Xml::tags( 'label', array( 'for' => 'wpSummary' ), $subject );
                                $commentsubject =
                                        Xml::tags( 'span', array( 'id' => 'wpSummaryLabel' ), $commentsubject );
                                $commentsubject .= '&nbsp;';
@@ -1365,7 +1365,7 @@ class EditPage {
                } else {
                        $commentsubject = '';
 
-                       $editsummary = Xml::element( 'label', array( 'for' => 'wpSummary' ), $summary );
+                       $editsummary = Xml::tags( 'label', array( 'for' => 'wpSummary' ), $summary );
                        $editsummary =
                                Xml::tags( 'span', array( 'id' => 'wpSummaryLabel' ), $editsummary );