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)
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php