From d7fbda5c30faae0859e59e783cb1ea772e98532d Mon Sep 17 00:00:00 2001 From: Silvio Date: Thu, 26 Aug 2010 16:52:22 -0300 Subject: Boundary fix at IsisMainItemIterator --- classes/iterators/IsisEntryIterator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/iterators/IsisEntryIterator.php') diff --git a/classes/iterators/IsisEntryIterator.php b/classes/iterators/IsisEntryIterator.php index feacf89..6a1d72c 100644 --- a/classes/iterators/IsisEntryIterator.php +++ b/classes/iterators/IsisEntryIterator.php @@ -61,6 +61,6 @@ class IsisEntryIterator implements Iterator * Check if there is a current element after calls to rewind() or next(). */ function valid() { - return $this->entry < $this->entries; + return $this->entry <= $this->entries; } } -- cgit v1.2.3