summaryrefslogtreecommitdiff
path: root/it_pipe.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_pipe.class')
-rw-r--r--it_pipe.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_pipe.class b/it_pipe.class
index e23f7e8..084e03d 100644
--- a/it_pipe.class
+++ b/it_pipe.class
@@ -61,7 +61,7 @@ function next()
function valid()
{
- return isset($this->lines[$this->_position]);
+ return array_key_exists($this->_position, $this->lines);
}
function current()