summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2019-09-09 23:53:54 +0200
committerUrban Müller2019-09-09 23:54:19 +0200
commit3148b14a68af96bbf05db8d879d1072cab3b9455 (patch)
tree59e7b675e79e77d31127fb753c2bf99ee27de017
parent64b784f15df826efb73453128e531c304e7add4d (diff)
downloaditools-3148b14a68af96bbf05db8d879d1072cab3b9455.tar.gz
itools-3148b14a68af96bbf05db8d879d1072cab3b9455.tar.bz2
itools-3148b14a68af96bbf05db8d879d1072cab3b9455.zip
null values can exist and are valid - should not stop iteration of stats/bin/memused.php
-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()