Commit 7e6acb5b authored by Kjartan's avatar Kjartan

- fixing bug reported by Remco.

parent d8cd5496
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment