From 539dbc2d319dfe7d2c2ce20172db89d4950ba1b6 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 16 Sep 2009 22:52:15 +0000 Subject: [PATCH] Default $attribs to an array in expandAttributes() --- includes/Html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Html.php b/includes/Html.php index 1010fc338f..a841d83f54 100644 --- a/includes/Html.php +++ b/includes/Html.php @@ -286,7 +286,7 @@ class Html { * @return string HTML fragment that goes between element name and '>' * (starting with a space if at least one attribute is output) */ - public static function expandAttributes( $attribs ) { + public static function expandAttributes( $attribs = array() ) { global $wgHtml5, $wgWellFormedXml; $ret = ''; -- 2.20.1