Permalink
Browse files

MDL-13619 legacy restore revisited -fixed sortorder

  • Loading branch information...
1 parent 40af907 commit fe3987a3244c9d86283a818d81e3e77449bcf0f4 skodak committed Mar 20, 2008
Showing with 1 addition and 0 deletions.
  1. +1 −0 backup/restorelib.php
View
@@ -1342,6 +1342,7 @@ function restore_migrate_old_gradebook($restore,$xml_file) {
$course_category->aggregation = GRADE_AGGREGATE_WEIGHTED_MEAN2;
$course_category->aggregateonlygraded = 0;
$course_category->update('restore');
+ $grade_category = $course_category;
} else {
$grade_category = new grade_category();

0 comments on commit fe3987a

Please sign in to comment.