mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Prints correct phase for newly created exercise (when phase is 0).
This commit is contained in:
parent
d08e0e1321
commit
3e906ba934
1 changed files with 1 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue