Skip to content
Snippets Groups Projects
Commit 7e6acb5b authored by Kjartan Mannes's avatar Kjartan Mannes
Browse files

- fixing bug reported by Remco.

parent d8cd5496
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -102,7 +102,7 @@ function theme_init() { ...@@ -102,7 +102,7 @@ function theme_init() {
$name = $user->theme ? $user->theme : variable_get("theme_default", 0); $name = $user->theme ? $user->theme : variable_get("theme_default", 0);
if (is_object($themes[$name])) { if (is_object($themes[$name])) {
include_once($themes[$name]->filename); include_once($themes[$name]->filename);
$theme_class = "Theme_$user->theme"; $theme_class = "Theme_$name";
@$obj =& new $theme_class; @$obj =& new $theme_class;
return $obj; return $obj;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment