From: Marcus Boerger Date: Tue, 31 Oct 2006 23:22:56 +0000 (+0000) Subject: - Fixed Bug #39151 Parse error in recursiveiteratoriterator.php X-Git-Tag: RELEASE_1_0_0RC1~1164 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f35c2a34c417d4031d5aa2ac298c24d671ace1ac;p=php - Fixed Bug #39151 Parse error in recursiveiteratoriterator.php --- diff --git a/ext/spl/internal/recursiveiteratoriterator.inc b/ext/spl/internal/recursiveiteratoriterator.inc index 0fd849225d..0f7f2aaa9d 100755 --- a/ext/spl/internal/recursiveiteratoriterator.inc +++ b/ext/spl/internal/recursiveiteratoriterator.inc @@ -233,7 +233,7 @@ class RecursiveIteratorIterator implements OuterIterator if ($after_move) { if (($this->mode == self::SELF_FIRST && $this->callHasChildren()) - $this->mode == self::LEAVES_ONLY) + || $this->mode == self::LEAVES_ONLY) $this->nextElement(); } else @@ -245,7 +245,9 @@ class RecursiveIteratorIterator implements OuterIterator /** Called when the next element is available */ - function nextElement(); + function nextElement() + { + } /** @param max_depth new maximum allowed depth or -1 for any depth */