MVC / Backend - fix "escapeshellarg(): Passing null to parameter #1 ($arg) .."

This commit is contained in:
Ad Schellevis 2023-06-26 11:42:56 +02:00
parent 75227f146c
commit d674bf720f

View File

@ -169,7 +169,7 @@ class Backend
}
foreach ($params as $param) {
$event .= ' ' . escapeshellarg($param);
$event .= ' ' . escapeshellarg($param ?? '');
}
return $this->configdRun($event, $detach, $timeout, $connect_timeout);