Skip to content
Permalink
Browse files

MDL-34451 quiz Fixed problem where attempt page is updated for ALL at…

…tempts, not just current.
  • Loading branch information...
merrill-oakland committed Jul 22, 2012
1 parent 3294034 commit 478067dbfb5770419da0996d024438812c61e67e
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/attempt.php
@@ -103,7 +103,7 @@
// Prevent out of sequence access.
redirect($attemptobj->start_attempt_url(null, $attemptobj->get_currentpage()));
}
$DB->set_field('quiz_attempts', 'currentpage', $page);
$DB->set_field('quiz_attempts', 'currentpage', $page, array('id' => $attemptid));
}
// Initialise the JavaScript.

0 comments on commit 478067d

Please sign in to comment.
You can’t perform that action at this time.