From 17dda6df4ed80bb814fda5624a3af35ce7a1b561 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Wed, 23 Dec 2015 14:03:17 +0100 Subject: [PATCH] Fix that themes are always disabled in the general config fixes #10906 --- application/forms/Config/General/ThemingConfigForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/forms/Config/General/ThemingConfigForm.php b/application/forms/Config/General/ThemingConfigForm.php index bc1f82fa0..02d9ae532 100644 --- a/application/forms/Config/General/ThemingConfigForm.php +++ b/application/forms/Config/General/ThemingConfigForm.php @@ -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