diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/iterators/IsisEntryIterator.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |