Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'MDL-31385_20' of git://github.com/timhunt/moodle into M…

…OODLE_20_STABLE
  • Loading branch information...
commit a287c32d73a2eaba1be4f159edfed37c75408555 2 parents 6e6b754 + 38f9d1b
Aparup Banerjee nebgor authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/quiz/startattempt.php
2  mod/quiz/startattempt.php
View
@@ -64,7 +64,7 @@
}
/// Look for an existing attempt.
-$attempts = quiz_get_user_attempts($quiz->id, $USER->id, 'all');
+$attempts = quiz_get_user_attempts($quiz->id, $USER->id, 'all', true);
$lastattempt = end($attempts);
if ($lastattempt && !$lastattempt->timefinish) {
Please sign in to comment.
Something went wrong with that request. Please try again.