summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/theme.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index 40aa23d35..e33f9114f 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -102,7 +102,7 @@ function theme_init() {
$name = $user->theme ? $user->theme : variable_get("theme_default", 0);
if (is_object($themes[$name])) {
include_once($themes[$name]->filename);
- $theme_class = "Theme_$user->theme";
+ $theme_class = "Theme_$name";
@$obj =& new $theme_class;
return $obj;
}