diff --git a/app/Services/Servers/ServerCreationService.php b/app/Services/Servers/ServerCreationService.php index d7d533638..40e9d31c6 100644 --- a/app/Services/Servers/ServerCreationService.php +++ b/app/Services/Servers/ServerCreationService.php @@ -258,7 +258,7 @@ class ServerCreationService return [ 'server_id' => $server->id, 'variable_id' => $result->id, - 'variable_value' => $result->value, + 'variable_value' => $result->value ?? '', ]; })->toArray();