From 3148b14a68af96bbf05db8d879d1072cab3b9455 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Mon, 9 Sep 2019 23:53:54 +0200 Subject: null values can exist and are valid - should not stop iteration of stats/bin/memused.php --- it_pipe.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_pipe.class') 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() -- cgit v1.2.3