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:
2f8770f
)
Remove useless elseif compare. If the else if is doing the inverse (!) of the origina...
author
Sam Reed
<reedy@users.mediawiki.org>
Fri, 18 Feb 2011 10:34:01 +0000
(10:34 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Fri, 18 Feb 2011 10:34:01 +0000
(10:34 +0000)
includes/libs/spyc.php
patch
|
blob
|
history
diff --git
a/includes/libs/spyc.php
b/includes/libs/spyc.php
index
bc92e86
..
cc6993c
100644
(file)
--- a/
includes/libs/spyc.php
+++ b/
includes/libs/spyc.php
@@
-125,7
+125,7
@@
class Spyc {
$indent += $this->_dumpIndent;
// Yamlize the array
$string .= $this->_yamlizeArray( $value, $indent );
- } else
if ( !is_array( $value ) )
{
+ } else {
// It doesn't have children. Yip.
$string = $this->_dumpNode( $key, $value, $indent );
}