diff options
author | Silvio <silvio@devlet.com.br> | 2010-08-12 15:11:27 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-08-12 15:11:27 -0300 |
commit | ff0d55aabf6e5cd91cf9951cf33c2d10ba597cda (patch) | |
tree | f6d67247b77ba1648ebe0b1b504c410618c354c4 | |
parent | b54991f7f2bbce1f15d2b5d561eeef92194e1700 (diff) | |
download | cinisis-ff0d55aabf6e5cd91cf9951cf33c2d10ba597cda.tar.gz cinisis-ff0d55aabf6e5cd91cf9951cf33c2d10ba597cda.tar.bz2 |
Fixing valid() at IsisValueIterator
-rw-r--r-- | classes/iterators/IsisValueIterator.php | 2 |
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; } } |