cvs: spl /examples directorytreeiterator.inc
| From: | Marcus Boerger | Date: | Thu, 04 Dec 2003 20:24:07 +0000 |
| Subject: | cvs: spl /examples directorytreeiterator.inc | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-24927@lists.php.net to get a copy of this message | ||
helly Thu Dec 4 15:24:07 2003 EDT
Modified files:
/spl/examples directorytreeiterator.inc
Log:
__toString() must be called explicitly now
Index: spl/examples/directorytreeiterator.inc
diff -u spl/examples/directorytreeiterator.inc:1.4 spl/examples/directorytreeiterator.inc:1.5
--- spl/examples/directorytreeiterator.inc:1.4 Sat Nov 22 15:51:15 2003
+++ spl/examples/directorytreeiterator.inc Thu Dec 4 15:24:06 2003
@@ -14,7 +14,7 @@
$tree .= $this->getSubIterator($l)->hasNext() ? '| ' : ' ';
}
return $tree . ($this->getSubIterator($l)->hasNext() ? '|-' : '\-')
- . $this->getSubIterator($l);
+ . $this->getSubIterator($l)->__toString();
}
function __call($func, $params)