Browse files

Merge branch 'MDL-28152-course-grade-category' of git://github.com/mu…

…drd8mz/moodle
  • Loading branch information...
2 parents 0e29014 + 41f21f9 commit c5b0344b6226c977623684a02a3c1cae57f03ede @stronk7 stronk7 committed Jul 1, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 backup/moodle2/restore_stepslib.php
View
1 backup/moodle2/restore_stepslib.php
@@ -242,6 +242,7 @@ protected function process_grade_category($data) {
//get the already created course level grade category
$category = new stdclass();
$category->courseid = $this->get_courseid();
+ $category->parent = null;
$coursecategory = $DB->get_record('grade_categories', (array)$category);
if (!empty($coursecategory)) {

0 comments on commit c5b0344

Please sign in to comment.