mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 05:44:36 +02:00
parent
e45140dd86
commit
65e4d23d89
@ -78,9 +78,11 @@ class DbResourceForm extends Form
|
||||
'number',
|
||||
'port',
|
||||
array(
|
||||
'preserveDefault' => true,
|
||||
'description' => $this->translate('The port to use'),
|
||||
'label' => $this->translate('Port'),
|
||||
'description' => $this->translate('The port to use')
|
||||
'preserveDefault' => true,
|
||||
'required' => isset($formData['db']) && $formData['db'] === 'pgsql',
|
||||
'value' => isset($formData['db']) && $formData['db'] === 'pgsql' ? 5432 : null
|
||||
)
|
||||
);
|
||||
$this->addElement(
|
||||
|
Loading…
x
Reference in New Issue
Block a user