Fix for breadcrumb problem (MDL-6271).

This commit is contained in:
martinlanghoff
2006-09-28 00:08:50 +00:00
parent 250934b8e0
commit 6402cd4679
+1 -1
View 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");
}