- fixing bug reported by Remco.

4.0.x
Kjartan Mannes 2002-04-15 15:10:06 +00:00
parent d8cd54969c
commit 7e6acb5bbd
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}