diff --git a/mod/resource/coursefiles.php b/mod/resource/coursefiles.php index 787a30f29aa..d72eb4b652f 100644 --- a/mod/resource/coursefiles.php +++ b/mod/resource/coursefiles.php @@ -35,7 +35,7 @@ function html_header($course, $wdir, $formfield=""){ - global $CFG; + global $CFG,$THEME; if (! $site = get_site()) { error("Invalid site!");