diff options
Diffstat (limited to 'classes/iterators/IsisRowIterator.php')
-rw-r--r-- | classes/iterators/IsisRowIterator.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/iterators/IsisRowIterator.php b/classes/iterators/IsisRowIterator.php index 739db22..0c1463f 100644 --- a/classes/iterators/IsisRowIterator.php +++ b/classes/iterators/IsisRowIterator.php @@ -53,6 +53,6 @@ class IsisRowIterator implements Iterator * Check if there is a current element after calls to rewind() or next(). */ function valid() { - return $this->row <= $this->rows; + return $this->row <= $this->rows - 1; } } |