Browse files

MDL-31319 quiz attempts: include currentpage in backup

  • Loading branch information...
1 parent f6b4ec2 commit 7ea638e48a2be100cb2c188489527743a2c2e6f4 @mackensen mackensen committed Jan 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/backup/moodle2/backup_quiz_stepslib.php
View
2 mod/quiz/backup/moodle2/backup_quiz_stepslib.php
@@ -81,7 +81,7 @@ protected function define_structure() {
$attempt = new backup_nested_element('attempt', array('id'), array(
'uniqueid', 'userid', 'attemptnum', 'sumgrades',
'timestart', 'timefinish', 'timemodified', 'layout',
- 'preview'));
+ 'preview', 'currentpage'));
// This module is using questions, so produce the related question states and sessions
// attaching them to the $attempt element based in 'uniqueid' matching

0 comments on commit 7ea638e

Please sign in to comment.