DbResourceForm: Remove default value for host when not required
Mainly used for Oracle refs #3643
This commit is contained in:
parent
574e7671c3
commit
8c58ad7739
|
@ -114,7 +114,7 @@ class DbResourceForm extends Form
|
|||
'label' => $this->translate('Host'),
|
||||
'description' => $this->translate('The hostname of the database')
|
||||
. ($socketInfo ? '. ' . $socketInfo : ''),
|
||||
'value' => 'localhost'
|
||||
'value' => $hostIsRequired ? 'localhost' : ''
|
||||
)
|
||||
);
|
||||
$this->addElement(
|
||||
|
|
Loading…
Reference in New Issue