PreferenceForm: Always enable mode selection if user theme is compatible
fixes #4744
This commit is contained in:
parent
a621229240
commit
dcb83d9ab5
|
@ -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']);
|
$themeFile = StyleSheet::getThemeFile($formData['theme']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue