Skip to content

Commit

Permalink
Merge branch 'MDL-26685' of git://github.com/timhunt/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Mar 7, 2011
2 parents 2875c15 + 4a6f461 commit 7d75414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/quiz/startattempt.php
Expand Up @@ -74,7 +74,7 @@


/// Get number for the next or unfinished attempt /// Get number for the next or unfinished attempt
if ($lastattempt && !$lastattempt->preview && !$quizobj->is_preview_user()) { if ($lastattempt && !$lastattempt->preview && !$quizobj->is_preview_user()) {
$lastattemptid = $lastattempt->id; $lastattemptid = $lastattempt->uniqueid;
$attemptnumber = $lastattempt->attempt + 1; $attemptnumber = $lastattempt->attempt + 1;
} else { } else {
$lastattempt = false; $lastattempt = false;
Expand Down

0 comments on commit 7d75414

Please sign in to comment.