From b621f9f104b5b4860c9115e7c7f78e6c25a94ff3 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Wed, 27 Jan 2010 18:59:52 +0000 Subject: [PATCH] Use Html::element() for Xml::submitButton() There are a bunch of other places where we could switch to Html methods here too. See . --- includes/Xml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Xml.php b/includes/Xml.php index 0cd052b6e5..45517ccf42 100644 --- a/includes/Xml.php +++ b/includes/Xml.php @@ -395,7 +395,7 @@ class Xml { * @return string HTML */ public static function submitButton( $value, $attribs=array() ) { - return self::element( 'input', array( 'type' => 'submit', 'value' => $value ) + $attribs ); + return Html::element( 'input', array( 'type' => 'submit', 'value' => $value ) + $attribs ); } /** -- 2.20.1