Skip to content

Commit

Permalink
MDL-29793 Advanced grading backup - fixed the recently renamed DB field
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrd8mz committed Nov 14, 2011
1 parent 98ca9e8 commit c309e4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backup/moodle2/backup_stepslib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1842,7 +1842,7 @@ protected function define_structure() {
$definition->set_source_table('grading_definitions', array('areaid' => backup::VAR_PARENTID));

if ($userinfo) {
$instance->set_source_table('grading_instances', array('formid' => backup::VAR_PARENTID));
$instance->set_source_table('grading_instances', array('definitionid' => backup::VAR_PARENTID));
}

// Annotate references
Expand Down

0 comments on commit c309e4f

Please sign in to comment.