summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-04-15 15:10:06 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-04-15 15:10:06 +0000
commit7e6acb5bbd4ddde196b30942b18a954b57ef0c08 (patch)
tree375b5ba1f8da1d52d37ec6a20b20b3d271710d4f
parentd8cd54969c856531e002136f52bc52e7cbcbf49f (diff)
downloadbrdo-7e6acb5bbd4ddde196b30942b18a954b57ef0c08.tar.gz
brdo-7e6acb5bbd4ddde196b30942b18a954b57ef0c08.tar.bz2
- fixing bug reported by Remco.
-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;
}