From: Aaron Schulz Date: Wed, 16 Sep 2009 22:52:15 +0000 (+0000) Subject: Default $attribs to an array in expandAttributes() X-Git-Tag: 1.31.0-rc.0~39705 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=539dbc2d319dfe7d2c2ce20172db89d4950ba1b6;p=lhc%2Fweb%2Fwiklou.git Default $attribs to an array in expandAttributes() --- 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 = '';