diff --git a/lib/Service/ExAppService.php b/lib/Service/ExAppService.php index cca600b2..cd8d90db 100644 --- a/lib/Service/ExAppService.php +++ b/lib/Service/ExAppService.php @@ -323,9 +323,9 @@ public function getAppInfo(string $appId, ?string $infoXml, ?string $jsonInfo, ? } } } - $envVars = array_values(array_filter($envVars, function ($envVar) { + $envVars = array_filter($envVars, function ($envVar) { return $envVar['value'] !== ''; - })); + }); $appInfo['external-app']['environment-variables'] = $envVars; } if (isset($deployOptions['mounts'])) {