MDL-7576 - review link does not work after attempt is closed. Thanks to Chad Badiyan for the fix.

This commit is contained in:
tjhunt
2006-11-16 12:43:00 +00:00
parent 5675d86412
commit ceab443d08
+1 -1
View File
@@ -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;
}