Fix that themes are always disabled in the general config

fixes #10906
This commit is contained in:
Eric Lippmann 2015-12-23 14:03:17 +01:00
parent fd609b7098
commit 17dda6df4e
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class ThemingConfigForm extends Form
'themes_default',
array(
'description' => $this->translate('The default theme', 'Form element description'),
'disabled' => count($themes) < 2,
'disabled' => count($themes) < 2 ? 'disabled' : null,
'label' => $this->translate('Default Theme', 'Form element label'),
'multiOptions' => $themes,
'value' => StyleSheet::DEFAULT_THEME