summaryrefslogtreecommitdiff
path: root/includes/theme.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/theme.inc')
-rw-r--r--includes/theme.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index c973868b4..9cde011a1 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -7,7 +7,7 @@ function theme_init() {
include_once $themes[$user->theme][0];
}
else {
- include_once $themes[key($themes)][0];
+ include_once $themes[variable_get(default_theme, key($themes))][0];
}
return new Theme();
}