From f662310c255b27c22ab4de64ede988fab4c170f6 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Fri, 18 Feb 2011 10:34:01 +0000 Subject: [PATCH] Remove useless elseif compare. If the else if is doing the inverse (!) of the original if, it's redundant --- includes/libs/spyc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/libs/spyc.php b/includes/libs/spyc.php index bc92e869c9..cc6993c346 100644 --- 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 ); - } elseif ( !is_array( $value ) ) { + } else { // It doesn't have children. Yip. $string = $this->_dumpNode( $key, $value, $indent ); } -- 2.20.1