dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Revert "Log the reason why revision->getContent() returns null""
[lhc/web/wiklou.git]
/
includes
/
tidy
/
Balancer.php
diff --git
a/includes/tidy/Balancer.php
b/includes/tidy/Balancer.php
index
fa89c1a
..
c7d9a26
100644
(file)
--- a/
includes/tidy/Balancer.php
+++ b/
includes/tidy/Balancer.php
@@
-1366,7
+1366,7
@@
class BalanceStack implements IteratorAggregate {
foreach ( $this->elements as $elt ) {
array_push( $r, $elt->localName );
}
foreach ( $this->elements as $elt ) {
array_push( $r, $elt->localName );
}
- return implode(
$r, ' '
);
+ return implode(
' ', $r
);
}
}
}
}
@@
-1904,7
+1904,7
@@
class Balancer {
}
);
if ( count( $bad ) > 0 ) {
}
);
if ( count( $bad ) > 0 ) {
- $badstr = implode(
array_keys( $bad ), ','
);
+ $badstr = implode(
',', array_keys( $bad )
);
throw new ParameterAssertionException(
'$config',
'Balance attempted with sanitization including ' .
throw new ParameterAssertionException(
'$config',
'Balance attempted with sanitization including ' .