From: gustav_delius Date: Wed, 5 Apr 2006 09:43:29 +0000 (+0000) Subject: Prevent student from seeing quiz when closed, bug 5070 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9c7c8d63f4551554cd2b882bd3f856cf9afb9b5d;p=moodle.git Prevent student from seeing quiz when closed, bug 5070 --- 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}"); } }