mirror of
https://github.com/moodle/moodle.git
synced 2025-01-23 08:38:23 +01:00
Avoid one undefined THEME little problem in html_header()
This commit is contained in:
parent
0dafd031df
commit
13ae718937
@ -35,7 +35,7 @@
|
||||
|
||||
function html_header($course, $wdir, $formfield=""){
|
||||
|
||||
global $CFG;
|
||||
global $CFG,$THEME;
|
||||
|
||||
if (! $site = get_site()) {
|
||||
error("Invalid site!");
|
||||
|
Loading…
x
Reference in New Issue
Block a user