cvs: php-src /ext/spl/internal recursiveiteratoriterator.inc
| From: | Marcus Boerger | Date: | Tue, 31 Oct 2006 23:22:56 +0000 |
| Subject: | cvs: php-src /ext/spl/internal recursiveiteratoriterator.inc | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-41269@lists.php.net to get a copy of this message | ||
helly Tue Oct 31 23:22:56 2006 UTC
Modified files:
/php-src/ext/spl/internal recursiveiteratoriterator.inc
Log:
- Fixed Bug #39151 Parse error in recursiveiteratoriterator.php
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/internal/recursiveiteratoriterator.inc?r1=1.18&r2=1.19&diff_format=u
Index: php-src/ext/spl/internal/recursiveiteratoriterator.inc
diff -u php-src/ext/spl/internal/recursiveiteratoriterator.inc:1.18
php-src/ext/spl/internal/recursiveiteratoriterator.inc:1.19
--- php-src/ext/spl/internal/recursiveiteratoriterator.inc:1.18 Tue Feb 21 23:21:53 2006
+++ php-src/ext/spl/internal/recursiveiteratoriterator.inc Tue Oct 31 23:22:56 2006
@@ -233,7 +233,7 @@
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 @@
/** Called when the next element is available
*/
- function nextElement();
+ function nextElement()
+ {
+ }
/** @param max_depth new maximum allowed depth or -1 for any depth
*/