Permalink
Browse files

Prints correct phase for newly created exercise (when phase is 0).

  • Loading branch information...
1 parent d08e0e1 commit 3e906ba9348b0e795cbce419f9623325c6234a9e rkingdon committed Sep 9, 2004
Showing with 1 addition and 0 deletions.
  1. +1 −0 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");

0 comments on commit 3e906ba

Please sign in to comment.