]> git.mjollnir.org Git - moodle.git/commitdiff
Solved bug 1378. Missing encoding in glossary/print.php
authorstronk7 <stronk7>
Wed, 12 May 2004 17:59:07 +0000 (17:59 +0000)
committerstronk7 <stronk7>
Wed, 12 May 2004 17:59:07 +0000 (17:59 +0000)
(http://moodle.org/bugs/bug.php?op=show&bugid=1378)

mod/glossary/print.php

index fa8fe7082ad90af5daf2ec66e3ffa7e08ce1c8fb..e2eb823ce5b4dc3cec6b037757f5412affb00f21 100644 (file)
@@ -10,6 +10,8 @@
     optional_variable($sortorder,"asc");           // Sorting order 
     optional_variable($offset);                    // number of entries to bypass
 
+    print_header();
+
     if (! $cm = get_record("course_modules", "id", $id)) {
         error("Course Module ID was incorrect");
     } 
     if ($tableisopen) {
         echo '</table>';
     }
-    echo '<center><font size=-1>' . userdate(time()) . '</font></center>'
+    echo '<center><font size=-1>' . userdate(time()) . '</font></center>';
+
+    echo '</body></html>';
 ?>