From 8afa98a1ca76de124c94c9ad69559be6d710818f Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 8 Sep 2023 16:19:45 +0200 Subject: [PATCH] fix: sentry 4451028626 --- app/Models/StandaloneDocker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/StandaloneDocker.php b/app/Models/StandaloneDocker.php index 6ecc46a97..6f2ea7673 100644 --- a/app/Models/StandaloneDocker.php +++ b/app/Models/StandaloneDocker.php @@ -23,6 +23,6 @@ public function server() public function attachedTo() { - return $this->applications->count() > 0 || $this->databases->count() > 0; + return $this->applications?->count() > 0 || $this->databases?->count() > 0; } }