diff --git a/bootstrap/helpers/docker.php b/bootstrap/helpers/docker.php index f932c95f3..7a92ab072 100644 --- a/bootstrap/helpers/docker.php +++ b/bootstrap/helpers/docker.php @@ -152,13 +152,13 @@ function generateServiceSpecificFqdns($service, $forTraefik = false) switch ($type) { case $type->contains('minio'): $MINIO_BROWSER_REDIRECT_URL = $variables->where('key', 'MINIO_BROWSER_REDIRECT_URL')->first(); - if (is_null($MINIO_BROWSER_REDIRECT_URL->value)) { + if (is_null($MINIO_BROWSER_REDIRECT_URL?->value)) { $MINIO_BROWSER_REDIRECT_URL->update([ "value" => generateFqdn($service->service->server, 'console-' . $service->uuid) ]); } $MINIO_SERVER_URL = $variables->where('key', 'MINIO_SERVER_URL')->first(); - if (is_null($MINIO_SERVER_URL->value)) { + if (is_null($MINIO_SERVER_URL?->value)) { $MINIO_SERVER_URL->update([ "value" => generateFqdn($service->service->server, 'minio-' . $service->uuid) ]);