Permalink
Browse files

MDL-31385 quiz: does not resume previews.

  • Loading branch information...
1 parent 1aff7bb commit f5d24daba6749bb1b26cee5f6c1649c035aae62b @timhunt timhunt committed Jan 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/startattempt.php
@@ -83,7 +83,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 an in-progress attempt exists, check password then redirect to it.

0 comments on commit f5d24da

Please sign in to comment.