MDL-19936 workshopform_rubric: fixed a bug causing Moodle Features Demo restore fail

This commit is contained in:
David Mudrak
2010-09-30 11:14:53 +00:00
parent 5773b42109
commit 8fa86fb8c4
@@ -184,7 +184,7 @@ class restore_workshopform_rubric_subplugin extends restore_subplugin {
$data->assessmentid = $this->get_new_parentid($elementname);
$data->strategy = 'rubric';
$data->dimensionid = $this->get_mappingid('workshopform_rubric', $data->dimensionid);
$data->dimensionid = $this->get_mappingid($this->get_namefor('dimension'), $data->dimensionid);
$DB->insert_record('workshop_grades', $data);
}