diff --git a/mod/journal/mod.html b/mod/journal/mod.html
index 0794b3e2b9e..4e86822954d 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";
+ }
}
?>