Closing SC#66 - more

This commit is contained in:
martinlanghoff
2005-01-22 09:05:49 +00:00
parent 35b09c6973
commit eda27289aa
+1
View File
@@ -29,6 +29,7 @@
add_to_log($course->id, "course", "view", "view.php?id=$course->id", "$course->id");
$course->format = clean_param($course->format, PARAM_ALPHA);
if (!file_exists($CFG->dirroot.'/course/format/'.$course->format.'/format.php')) {
$course->format = 'weeks'; // Default format is weeks
}