aboutsummaryrefslogtreecommitdiff
path: root/classes/iterators/IsisValueIterator.php
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-08-12 15:11:27 -0300
committerSilvio <silvio@devlet.com.br>2010-08-12 15:11:27 -0300
commitff0d55aabf6e5cd91cf9951cf33c2d10ba597cda (patch)
treef6d67247b77ba1648ebe0b1b504c410618c354c4 /classes/iterators/IsisValueIterator.php
parentb54991f7f2bbce1f15d2b5d561eeef92194e1700 (diff)
downloadcinisis-ff0d55aabf6e5cd91cf9951cf33c2d10ba597cda.tar.gz
cinisis-ff0d55aabf6e5cd91cf9951cf33c2d10ba597cda.tar.bz2
Fixing valid() at IsisValueIterator
Diffstat (limited to 'classes/iterators/IsisValueIterator.php')
-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;
}
}