From dcb83d9ab5a494e6210f5fb2d94ad289e2d1201f Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 7 Apr 2022 10:59:50 +0200 Subject: [PATCH] PreferenceForm: Always enable mode selection if user theme is compatible fixes #4744 --- application/forms/PreferenceForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/forms/PreferenceForm.php b/application/forms/PreferenceForm.php index df6733b34..23a759464 100644 --- a/application/forms/PreferenceForm.php +++ b/application/forms/PreferenceForm.php @@ -211,7 +211,7 @@ class PreferenceForm extends Form } } - if (isset($formData['theme']) && $formData['theme'] !== StyleSheet::DEFAULT_THEME) { + if (isset($formData['theme'])) { $themeFile = StyleSheet::getThemeFile($formData['theme']); }