mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 14:53:45 +02:00
Don't try to store null values in the DB for variables; closes #3038
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user