Settings: no resource chosen per default
This commit is contained in:
parent
816f8b8a72
commit
42e335bc36
|
@ -19,7 +19,7 @@ class Director_SettingsController extends ActionController
|
|||
$form->addElement('select', 'resource', array(
|
||||
'required' => true,
|
||||
'label' => $this->translate('DB Resource'),
|
||||
'multiOptions' => $this->getResources(),
|
||||
'multiOptions' => array(null => $this->translate('- please choose -')) + $this->getResources(),
|
||||
'value' => $resource
|
||||
));
|
||||
$form->setSubmitLabel($this->translate('Save'));
|
||||
|
|
Loading…
Reference in New Issue