From 0cd2d98f71fba8b086ab27941632005b9eef181e Mon Sep 17 00:00:00 2001 From: Jennifer Mourek Date: Fri, 14 Oct 2016 13:24:17 +0200 Subject: [PATCH] StyleSheet: Don't try to load the icinga default theme refs #12660 --- library/Icinga/Web/StyleSheet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/StyleSheet.php b/library/Icinga/Web/StyleSheet.php index 8a7ffa3e5..549e11c5c 100644 --- a/library/Icinga/Web/StyleSheet.php +++ b/library/Icinga/Web/StyleSheet.php @@ -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);