mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-21 21:04:25 +02:00
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…
x
Reference in New Issue
Block a user