From 13ae7189377693438482a655931828a7fbacd37f Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sun, 14 Mar 2004 23:05:04 +0000 Subject: [PATCH] Avoid one undefined THEME little problem in html_header() --- mod/resource/coursefiles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!");