Permalink
Browse files

Merge branch 'MDL-26685' of git://github.com/timhunt/moodle

  • Loading branch information...
2 parents 2875c15 + 4a6f461 commit 7d754148c41c49635f3d755457adddb192c03baa @stronk7 stronk7 committed Mar 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/startattempt.php
@@ -74,7 +74,7 @@
/// Get number for the next or unfinished attempt
if ($lastattempt && !$lastattempt->preview && !$quizobj->is_preview_user()) {
- $lastattemptid = $lastattempt->id;
+ $lastattemptid = $lastattempt->uniqueid;
$attemptnumber = $lastattempt->attempt + 1;
} else {
$lastattempt = false;

0 comments on commit 7d75414

Please sign in to comment.