diff options
-rw-r--r-- | it_pipe.class | 2 |
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() |