Skip to content

Commit 498efa0

Browse files
authored
Use correct variable name (#983)
1 parent af5b3db commit 498efa0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Form/ServerForm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function form(array $form, FormStateInterface $formState) {
9292

9393
$input = $formState->getUserInput();
9494
$inputSchema = array_key_exists('schema', $input) ? $input['schema'] : NULL;
95-
$schema = ($formSchema ?? $server->get('schema')) ?: reset(array_keys($schemas));
95+
$schema = ($inputSchema ?? $server->get('schema')) ?: reset(array_keys($schemas));
9696

9797
if ($this->operation == 'add') {
9898
$form['#title'] = $this->t('Add server');

0 commit comments

Comments
 (0)