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:
8998c0a
)
Xml: Fix Xml::fieldset() when $content is not given
author
Bartosz Dziewoński
<matma.rex@gmail.com>
Fri, 15 Sep 2017 18:06:45 +0000
(20:06 +0200)
committer
Bartosz Dziewoński
<matma.rex@gmail.com>
Sat, 16 Sep 2017 13:23:08 +0000
(15:23 +0200)
A function in the Xml class could generate unbalanced tags. How
ironic. Why do we even have this instead of just the Html class?
Change-Id: Ie119c92aa4936e2f8982163d4b00d08949f49264
includes/Xml.php
patch
|
blob
|
history
diff --git
a/includes/Xml.php
b/includes/Xml.php
index
0091513
..
eadc7d1
100644
(file)
--- a/
includes/Xml.php
+++ b/
includes/Xml.php
@@
-615,9
+615,9
@@
class Xml {
if ( $content !== false ) {
$s .= $content . "\n";
- $s .= self::closeElement( 'fieldset' ) . "\n";
}
+ $s .= self::closeElement( 'fieldset' ) . "\n";
return $s;
}