From f728ddc6d20f4d218eb04443e00fa480e8ba0059 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Mon, 15 Mar 2010 08:11:19 +0000 Subject: [PATCH] (bug 19627) Fix regression from r57867 where HTMLForm would output rather than --- includes/HTMLForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/HTMLForm.php b/includes/HTMLForm.php index 008f0ec35e..d51c29032a 100644 --- a/includes/HTMLForm.php +++ b/includes/HTMLForm.php @@ -572,7 +572,7 @@ class HTMLForm { if( !$hasLeftColumn ) // Avoid strange spacing when no labels exist $classes[] = 'mw-htmlform-nolabel'; $attribs = array( - 'classes' => implode( ' ', $classes ), + 'class' => implode( ' ', $classes ), ); if ( $sectionName ) $attribs['id'] = Sanitizer::escapeId( "mw-htmlform-$sectionName" ); -- 2.20.1