From 3e906ba9348b0e795cbce419f9623325c6234a9e Mon Sep 17 00:00:00 2001 From: rkingdon Date: Thu, 9 Sep 2004 21:17:07 +0000 Subject: [PATCH] Prints correct phase for newly created exercise (when phase is 0). --- mod/exercise/index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/mod/exercise/index.php b/mod/exercise/index.php index 2c6602a7c5..8fd99cf818 100644 --- a/mod/exercise/index.php +++ b/mod/exercise/index.php @@ -72,6 +72,7 @@ if (isteacher($course->id)) { $phase = ''; switch ($exercise->phase) { + case 0: case 1: $phase = get_string("phase1short", "exercise"); break; case 2: $phase = get_string("phase2short", "exercise"); -- 2.39.5