diff options
Diffstat (limited to 'classes/iterators/IsisMainItemIterator.php')
-rw-r--r-- | classes/iterators/IsisMainItemIterator.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/iterators/IsisMainItemIterator.php b/classes/iterators/IsisMainItemIterator.php index 8bcbfe4..2c1784a 100644 --- a/classes/iterators/IsisMainItemIterator.php +++ b/classes/iterators/IsisMainItemIterator.php @@ -65,7 +65,7 @@ class IsisMainItemIterator implements Iterator * Check if there are more rows. */ function has_more_rows() { - return $this->row <= $this->rows; + return $this->row < $this->rows - 1; } /** |