From f35c2a34c417d4031d5aa2ac298c24d671ace1ac Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Tue, 31 Oct 2006 23:22:56 +0000 Subject: [PATCH] - Fixed Bug #39151 Parse error in recursiveiteratoriterator.php --- ext/spl/internal/recursiveiteratoriterator.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 */ -- 2.50.1