Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-31385 quiz: does not resume previews.

  • Loading branch information...
commit 38f9d1b6b825f6f5db9416ba9721a040381c2cda 1 parent 2d5dc5f
Tim Hunt timhunt authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  mod/quiz/startattempt.php
2  mod/quiz/startattempt.php
@@ -64,7 +64,7 @@
64 64 }
65 65
66 66 /// Look for an existing attempt.
67   -$attempts = quiz_get_user_attempts($quiz->id, $USER->id, 'all');
  67 +$attempts = quiz_get_user_attempts($quiz->id, $USER->id, 'all', true);
68 68 $lastattempt = end($attempts);
69 69
70 70 if ($lastattempt && !$lastattempt->timefinish) {

0 comments on commit 38f9d1b

Please sign in to comment.
Something went wrong with that request. Please try again.