helly Tue Nov 11 13:33:34 2003 EDT Modified files: /spl/examples seekableiterator.inc Log: Fix this Index: spl/examples/seekableiterator.inc diff -u spl/examples/seekableiterator.inc:1.1 spl/examples/seekableiterator.inc:1.2 --- spl/examples/seekableiterator.inc:1.1 Tue Nov 11 13:31:50 2003 +++ spl/examples/seekableiterator.inc Tue Nov 11 13:33:34 2003 @@ -5,7 +5,7 @@ function seek($index) { $this->rewind(); $position = 0; - while($position < $index && $this->it->hasMore()) { + while($position < $index && $this->hasMore()) { $this->next(); $position++; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php