]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-20982 glossary - make print view to respect current theme ; merged from 19_STABLE
authorEloy Lafuente <stronk7@moodle.org>
Thu, 26 Nov 2009 11:35:25 +0000 (11:35 +0000)
committerEloy Lafuente <stronk7@moodle.org>
Thu, 26 Nov 2009 11:35:25 +0000 (11:35 +0000)
mod/glossary/print.php

index c6c2e4e97f7474897e7929328a9b9551b153241c..d31a5781f56f8f094982d59c4402ab42e438f6dc 100644 (file)
@@ -51,11 +51,11 @@ if ( !$entriesbypage = $glossary->entbypage ) {
     $entriesbypage = $CFG->glossary_entbypage;
 }
 
-echo $OUTPUT->header();
-
 require_course_login($course, true, $cm);
 $context = get_context_instance(CONTEXT_MODULE, $cm->id);
 
+echo $OUTPUT->header();
+
 /// Loading the textlib singleton instance. We are going to need it.
 $textlib = textlib_get_instance();