Browse files

MDL-7576 - review link does not work after attempt is closed. Thanks …

…to Chad Badiyan for the fix.
  • Loading branch information...
1 parent 5675d86 commit ceab443d08ce3bbe58f48141fbc6b450a12da490 tjhunt committed Nov 16, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/view.php
View
2 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;
}

0 comments on commit ceab443

Please sign in to comment.