]> git.mjollnir.org Git - moodle.git/commitdiff
Fix for breadcrumb problem (MDL-6271).
authormartinlanghoff <martinlanghoff>
Thu, 28 Sep 2006 00:08:50 +0000 (00:08 +0000)
committermartinlanghoff <martinlanghoff>
Thu, 28 Sep 2006 00:08:50 +0000 (00:08 +0000)
course/enrol.php

index 47ffeee57efb989dee62fa1031697d5086d0524c..976a0b3e78e8080f67f86c3d54b1822553f75b70 100644 (file)
@@ -78,7 +78,7 @@
             ($course->enrollable == 2 && $course->enrolstartdate > 0 && $course->enrolstartdate > time()) ||
             ($course->enrollable == 2 && $course->enrolenddate > 0 && $course->enrolenddate <= time())
             ) {
-        print_header_simple();
+        print_header($course->shortname, $course->fullname, $course->shortname );
         notice(get_string('notenrollable'), "$CFG->wwwroot/index.php");
     }