From 44d3044b7703c4f628c5a35e7ddca6d716bd054c Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 20 Aug 2003 12:03:26 +0000 Subject: [PATCH] Forgot to check this slight fix in to fix the default days --- mod/journal/mod.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"; + } } ?> -- 2.39.5