Fix executing filter

This commit is contained in:
Isaac Connor 2019-08-26 20:45:38 -04:00
parent cd883e23b8
commit c482fa7d5d
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}