mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 06:13:45 +02:00
Allow passing empty values through for variables, covers with test, closes #2433
This commit is contained in:
@@ -100,7 +100,7 @@ class StartupController extends ClientApiController
|
||||
'server_id' => $server->id,
|
||||
'variable_id' => $variable->id,
|
||||
], [
|
||||
'variable_value' => $request->input('value'),
|
||||
'variable_value' => $request->input('value') ?? '',
|
||||
]);
|
||||
|
||||
$variable = $variable->refresh();
|
||||
|
||||
Reference in New Issue
Block a user