]> git.mjollnir.org Git - moodle.git/commitdiff
Keep $THEME global in print_header for backward compatibility
authormoodler <moodler>
Tue, 8 Feb 2005 14:51:38 +0000 (14:51 +0000)
committermoodler <moodler>
Tue, 8 Feb 2005 14:51:38 +0000 (14:51 +0000)
lib/weblib.php

index ee25af587b17d25900a07b66f86bc3b542e7d2ef..81e734df02df24ec7cac04d6efb9216910b5fdb7 100644 (file)
@@ -1494,7 +1494,7 @@ function highlightfast($needle, $haystack) {
 function print_header ($title='', $heading='', $navigation='', $focus='', $meta='',
                        $cache=true, $button='&nbsp;', $menu='', $usexml=false, $bodytags='') {
 
-    global $USER, $CFG, $SESSION, $ME;
+    global $USER, $CFG, $THEME, $SESSION, $ME;
 
 /// This is an ugly hack to be replaced later by a proper global $COURSE
     global $course;