aboutsummaryrefslogtreecommitdiff
path: root/classes/iterators/IsisEntryIterator.php
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-08-26 16:52:22 -0300
committerSilvio <silvio@devlet.com.br>2010-08-26 16:52:22 -0300
commitd7fbda5c30faae0859e59e783cb1ea772e98532d (patch)
treec1b3e0bd1d3a4c1116b1515f12684dc48a84951f /classes/iterators/IsisEntryIterator.php
parenteb59e6edb98ce1f53df221e331e016897a3245c0 (diff)
downloadcinisis-d7fbda5c30faae0859e59e783cb1ea772e98532d.tar.gz
cinisis-d7fbda5c30faae0859e59e783cb1ea772e98532d.tar.bz2
Boundary fix at IsisMainItemIterator
Diffstat (limited to 'classes/iterators/IsisEntryIterator.php')
-rw-r--r--classes/iterators/IsisEntryIterator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/iterators/IsisEntryIterator.php b/classes/iterators/IsisEntryIterator.php
index feacf89..6a1d72c 100644
--- a/classes/iterators/IsisEntryIterator.php
+++ b/classes/iterators/IsisEntryIterator.php
@@ -61,6 +61,6 @@ class IsisEntryIterator implements Iterator
* Check if there is a current element after calls to rewind() or next().
*/
function valid() {
- return $this->entry < $this->entries;
+ return $this->entry <= $this->entries;
}
}