Merge branch 'bugfix/switching-to-Icinga-theme-floods-error-log-12660'

fixes #12660
This commit is contained in:
Jennifer Mourek 2016-10-14 13:33:47 +02:00
commit 1e09f68ad2
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);