From 9c7c8d63f4551554cd2b882bd3f856cf9afb9b5d Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Wed, 5 Apr 2006 09:43:29 +0000 Subject: [PATCH] Prevent student from seeing quiz when closed, bug 5070 --- mod/quiz/attempt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/quiz/attempt.php b/mod/quiz/attempt.php index 9e87194887..1babae776b 100644 --- a/mod/quiz/attempt.php +++ b/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}"); } } -- 2.39.5