From: moodler Date: Tue, 8 Feb 2005 14:51:38 +0000 (+0000) Subject: Keep $THEME global in print_header for backward compatibility X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=05049d161b840e74bc603706d58922a027d4a9f7;p=moodle.git Keep $THEME global in print_header for backward compatibility --- diff --git a/lib/weblib.php b/lib/weblib.php index ee25af587b..81e734df02 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1494,7 +1494,7 @@ function highlightfast($needle, $haystack) { function print_header ($title='', $heading='', $navigation='', $focus='', $meta='', $cache=true, $button=' ', $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;