Commit 00dc9b61 authored by Nigel McNie's avatar Nigel McNie
Browse files

Get the default theme properly when no theme has been suggested for this user.

(Normally this case happens when there is no logged in user.
parent e10183e9
......@@ -596,7 +596,7 @@ class Theme {
if (!$themename) {
// Theme to show to when no theme has been suggested
$themename = 'default';
$themename = get_config('theme');
$themename = 'raw'; //TODO: debug
}
$this->init_theme($themename);
......
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