Browse files

MDL-31319 quiz attempts: include currentpage in backup

  • Loading branch information...
1 parent 1549ee0 commit 8011ddb0bf568eacb14dc04c7d75e80193b7cb1e @mackensen mackensen committed with wdjunaidi Jan 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 8011ddb

Please sign in to comment.