- fixing bug reported by Remco.
parent
d8cd54969c
commit
7e6acb5bbd
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue