MDL-29108 Advanced grading - renaming DB field forminstanceid to instanceid
[moodle.git] / grade / grading / form / rubric / backup / moodle2 / restore_gradingform_rubric_plugin.class.php
index 643607e..62b5c96 100644 (file)
@@ -105,7 +105,7 @@ class restore_gradingform_rubric_plugin extends restore_gradingform_plugin {
         global $DB;
 
         $data = (object)$data;
-        $data->forminstanceid = $this->get_new_parentid('grading_instance');
+        $data->instanceid = $this->get_new_parentid('grading_instance');
         $data->criterionid = $this->get_mappingid('gradingform_rubric_criterion', $data->criterionid);
         $data->levelid = $this->get_mappingid('gradingform_rubric_level', $data->levelid);