From: rkingdon Date: Thu, 9 Sep 2004 21:17:07 +0000 (+0000) Subject: Prints correct phase for newly created exercise (when phase is 0). X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3e906ba9348b0e795cbce419f9623325c6234a9e;p=moodle.git Prints correct phase for newly created exercise (when phase is 0). --- 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");