From: tjhunt Date: Thu, 16 Nov 2006 12:43:10 +0000 (+0000) Subject: MDL-7576 - review link does not work after attempt is closed. Thanks to Chad Badiyan... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f2603dcc8987bc17d611501fb049cff528d133e7;p=moodle.git MDL-7576 - review link does not work after attempt is closed. Thanks to Chad Badiyan for the fix. Merged from MOODLE_17_STABLE. --- diff --git a/mod/quiz/view.php b/mod/quiz/view.php index ddda08f0d4..a098cfa68b 100644 --- a/mod/quiz/view.php +++ b/mod/quiz/view.php @@ -436,7 +436,7 @@ function make_review_link($linktext, $quiz, $attempt) { } // If the attempt is still open, don't link. - if ($attempt->timefinish) { + if (!$attempt->timefinish) { return $linktext; }