From c482fa7d5d8e3c5fd7af519a567f1fddcafac8da Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 26 Aug 2019 20:45:38 -0400 Subject: [PATCH] Fix executing filter --- web/includes/Filter.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/includes/Filter.php b/web/includes/Filter.php index 4024460f5..3835b0ccb 100644 --- a/web/includes/Filter.php +++ b/web/includes/Filter.php @@ -168,8 +168,9 @@ class Filter extends ZM_Object { } # end foreach erver } # end function control public function execute() { - $command = ZM_PATH_BIN.'/zmfilter.pl --filter_id '.escapeshellarg($this->Id()); + $command = ZM_PATH_BIN.'/zmfilter.pl --filter_id='.escapeshellarg($this->Id()); $result = exec($command, $output, $status); + Logger::Debug("$command status:$status output:".implode("\n", $output)); return $status; }