mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 15:54:03 +02:00
Merge branch 'bugfix/switching-to-Icinga-theme-floods-error-log-12660'
fixes #12660
This commit is contained in:
commit
1e09f68ad2
@ -127,7 +127,7 @@ class StyleSheet
|
||||
}
|
||||
}
|
||||
|
||||
if ($theme) {
|
||||
if ($theme && $theme !== self::DEFAULT_THEME) {
|
||||
if (($pos = strpos($theme, '/')) !== false) {
|
||||
$moduleName = substr($theme, 0, $pos);
|
||||
$theme = substr($theme, $pos + 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user