diff --git a/app/Filament/Pages/Settings/GeneralPage.php b/app/Filament/Pages/Settings/GeneralPage.php index 526e021cf..728defa8e 100644 --- a/app/Filament/Pages/Settings/GeneralPage.php +++ b/app/Filament/Pages/Settings/GeneralPage.php @@ -102,6 +102,10 @@ public function form(Form $form): Form protected function getServerLabels(array $values): array { + if (count($values) && is_null($values[0])) { + return []; + } + return collect($values)->mapWithKeys(function (string $item, int $key) { return [$item => $item]; })->toArray();