From f67f5f0245551508371dbf93e4402532bce6dc50 Mon Sep 17 00:00:00 2001 From: Ilya Tregubov Date: Tue, 8 Nov 2016 13:23:22 +1100 Subject: [PATCH] MDL-29795 assign: add missing sortorder column for overrides when backing up a course --- mod/assign/backup/moodle2/backup_assign_stepslib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);