From: moodler Date: Wed, 20 Aug 2003 12:03:26 +0000 (+0000) Subject: Forgot to check this slight fix in to fix the default days X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=44d3044b7703c4f628c5a35e7ddca6d716bd054c;p=moodle.git Forgot to check this slight fix in to fix the default days --- diff --git a/mod/journal/mod.html b/mod/journal/mod.html index 0794b3e2b9..4e86822954 100644 --- a/mod/journal/mod.html +++ b/mod/journal/mod.html @@ -9,7 +9,11 @@ $form->assessed = "0"; } if (!isset($form->days)) { - $form->days = "14"; + if ($course->format == "weeks") { + $form->days = "7"; + } else { + $form->days = "0"; + } } ?>