Don't try to store null values in the DB for variables; closes #3038

This commit is contained in:
Dane Everitt 2021-01-27 20:45:26 -08:00
parent 8e7fcb484c
commit 0ae90eacaa
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -258,7 +258,7 @@ class ServerCreationService
return [ return [
'server_id' => $server->id, 'server_id' => $server->id,
'variable_id' => $result->id, 'variable_id' => $result->id,
'variable_value' => $result->value, 'variable_value' => $result->value ?? '',
]; ];
})->toArray(); })->toArray();