StyleSheet: Don't try to load the icinga default theme

refs #12660
This commit is contained in:
Jennifer Mourek 2016-10-14 13:24:17 +02:00
parent 8294471253
commit 0cd2d98f71
1 changed files with 1 additions and 1 deletions

View File

@ -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);