dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d43a6c0
)
Default $attribs to an array in expandAttributes()
author
Aaron Schulz
<aaron@users.mediawiki.org>
Wed, 16 Sep 2009 22:52:15 +0000
(22:52 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Wed, 16 Sep 2009 22:52:15 +0000
(22:52 +0000)
includes/Html.php
patch
|
blob
|
history
diff --git
a/includes/Html.php
b/includes/Html.php
index
1010fc3
..
a841d83
100644
(file)
--- 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 = '';