From 22ca022cc10e8e449241c1294fd512448b6c9181 Mon Sep 17 00:00:00 2001 From: Silvio Date: Thu, 19 Aug 2010 18:17:00 -0300 Subject: Minor fix --- classes/iterators/IsisEntryIterator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/iterators') diff --git a/classes/iterators/IsisEntryIterator.php b/classes/iterators/IsisEntryIterator.php index 6a1d72c..feacf89 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