From 2f7c7b676cbfb9d19185e6f68997b68f310f1a40 Mon Sep 17 00:00:00 2001 From: cmp167 Date: Fri, 8 Mar 2024 00:46:04 +0300 Subject: [PATCH] Fix debug mesg --- cmpUtil.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmpUtil.php b/cmpUtil.php index 4f49a2f..692d0d5 100644 --- a/cmpUtil.php +++ b/cmpUtil.php @@ -348,7 +348,8 @@ return true; for($i = 0; $i < $c; $i++) { - $this->d($prs["streamCurrent"] . ": " . $a[$i]); + if(!isset($opt["silent"]) || !$opt["silent"]) + $this->d($prs["streamCurrent"] . ": " . $a[$i]); if($prs["streamCurrent"] == "stdout") { if(isset($opt["eventStringStdOut"]) && $opt["eventStringStdOut"]) {