aboutsummaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-08-19 18:17:00 -0300
committerSilvio <silvio@devlet.com.br>2010-08-19 18:17:00 -0300
commit22ca022cc10e8e449241c1294fd512448b6c9181 (patch)
tree915969c1398a1bc6cf6612207ccda8920753c7b2 /classes
parentc8a371afff72055285a6db9729bda0bacb90f9e3 (diff)
downloadcinisis-22ca022cc10e8e449241c1294fd512448b6c9181.tar.gz
cinisis-22ca022cc10e8e449241c1294fd512448b6c9181.tar.bz2
Minor fix
Diffstat (limited to 'classes')
-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 6a1d72c..feacf89 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;
}
}