Permalink
Browse files

Merge branch 'MDL-34451_23' of git://github.com/merrill-oakland/moodl…

…e into MOODLE_23_STABLE
  • Loading branch information...
2 parents 4094913 + a14ef47 commit fd59a1780b7929bac1b7e074c568929397820307 @danpoltawski danpoltawski committed Jul 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/attempt.php
View
2 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 fd59a17

Please sign in to comment.