Permalink
Browse files

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

…OODLE_21_STABLE
  • Loading branch information...
nebgor committed Jan 30, 2012
2 parents c1f9cde + f5d24da commit b69e249a6dbf36436d713d2036a0415aece5d7ba
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 b69e249

Please sign in to comment.