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:
dd2c01a
)
Fix fail from r94473
author
Sam Reed
<reedy@users.mediawiki.org>
Sun, 14 Aug 2011 19:50:08 +0000
(19:50 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Sun, 14 Aug 2011 19:50:08 +0000
(19:50 +0000)
Append to the string, don't replace it
includes/Xml.php
patch
|
blob
|
history
diff --git
a/includes/Xml.php
b/includes/Xml.php
index
f937003
..
c2fa819
100644
(file)
--- a/
includes/Xml.php
+++ b/
includes/Xml.php
@@
-794,7
+794,7
@@
class Xml {
$s = Xml::openElement( 'table', $attribs );
if ( is_array( $headers ) ) {
- $s = Xml::openElement( 'thead', $attribs );
+ $s
.
= Xml::openElement( 'thead', $attribs );
foreach( $headers as $id => $header ) {
$attribs = array();
@@
-805,7
+805,7
@@
class Xml {
$s .= Xml::element( 'th', $attribs, $header );
}
- $s = Xml::closeElement( 'thead' );
+ $s
.
= Xml::closeElement( 'thead' );
}
foreach( $rows as $id => $row ) {