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) {
|
if (($pos = strpos($theme, '/')) !== false) {
|
||||||
$moduleName = substr($theme, 0, $pos);
|
$moduleName = substr($theme, 0, $pos);
|
||||||
$theme = substr($theme, $pos + 1);
|
$theme = substr($theme, $pos + 1);
|
||||||
|
|
Loading…
Reference in New Issue