mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Keep $THEME global in print_header for backward compatibility
This commit is contained in:
parent
3c5206598d
commit
05049d161b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user