]> git.mjollnir.org Git - moodle.git/commitdiff
Avoid one undefined THEME little problem in html_header()
authorstronk7 <stronk7>
Sun, 14 Mar 2004 23:05:04 +0000 (23:05 +0000)
committerstronk7 <stronk7>
Sun, 14 Mar 2004 23:05:04 +0000 (23:05 +0000)
mod/resource/coursefiles.php

index 787a30f29aa823acf23da2d6963fee58f5e8fee5..d72eb4b652f3db7b9897c56a83b0a4612fdf8793 100644 (file)
@@ -35,7 +35,7 @@
     
     function html_header($course, $wdir, $formfield=""){
 
-        global $CFG;
+        global $CFG,$THEME;
 
         if (! $site = get_site()) {
             error("Invalid site!");