aboutsummaryrefslogtreecommitdiff
path: root/classes/iterators
diff options
context:
space:
mode:
Diffstat (limited to 'classes/iterators')
-rw-r--r--classes/iterators/IsisValueIterator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/iterators/IsisValueIterator.php b/classes/iterators/IsisValueIterator.php
index f10125d..2b41fd2 100644
--- a/classes/iterators/IsisValueIterator.php
+++ b/classes/iterators/IsisValueIterator.php
@@ -57,6 +57,6 @@ class IsisValueIterator 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;
}
}