Skip to content
Browse files

Prevent student from seeing quiz when closed, bug 5070

  • Loading branch information...
1 parent 913a696 commit 9c7c8d63f4551554cd2b882bd3f856cf9afb9b5d gustav_delius committed Apr 5, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/attempt.php
View
2 mod/quiz/attempt.php
@@ -433,7 +433,7 @@
if ($isteacher) {
notify(get_string('notavailabletostudents', 'quiz'));
} else {
- print_continue(get_string('notavailable', 'quiz'), "view.php?id={$cm->id}");
+ notice(get_string('notavailable', 'quiz'), "view.php?id={$cm->id}");
}
}

0 comments on commit 9c7c8d6

Please sign in to comment.
Something went wrong with that request. Please try again.