diff --git a/mod/assign/backup/moodle2/backup_assign_stepslib.php b/mod/assign/backup/moodle2/backup_assign_stepslib.php index 38c87f851d2..6eb5c52bfbf 100644 --- a/mod/assign/backup/moodle2/backup_assign_stepslib.php +++ b/mod/assign/backup/moodle2/backup_assign_stepslib.php @@ -132,7 +132,7 @@ class backup_assign_activity_structure_step extends backup_activity_structure_st $overrides = new backup_nested_element('overrides'); $override = new backup_nested_element('override', array('id'), array( - 'groupid', 'userid', 'allowsubmissionsfromdate', 'duedate', 'cutoffdate')); + 'groupid', 'userid', 'sortorder', 'allowsubmissionsfromdate', 'duedate', 'cutoffdate')); // Build the tree. $assign->add_child($userflags);