Keep $THEME global in print_header for backward compatibility

This commit is contained in:
moodler 2005-02-08 14:51:38 +00:00
parent 3c5206598d
commit 05049d161b

View File

@ -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;