Settings: no resource chosen per default

This commit is contained in:
Thomas Gelf 2015-06-29 16:05:12 +02:00
parent 816f8b8a72
commit 42e335bc36
1 changed files with 1 additions and 1 deletions

View File

@ -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'));