Skip to content
Permalink
Browse files

MDL-19142 assignment/restore small fix to pass $info to subtypes rela…

…tive to current assignment rather than the full array
  • Loading branch information...
mjollnir_
mjollnir_ committed Aug 15, 2009
1 parent 6a7f561 commit 65eebc1dc162f2b4f9dcae485cc48d0f6217492f
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/assignment/restorelib.php
@@ -209,7 +209,7 @@ function assignment_submissions_restore_mods($old_assignment_id, $new_assignment
$class = 'assignment_' . $assignment->assignmenttype;
require_once($CFG->dirroot . '/mod/assignment/lib.php');
require_once($CFG->dirroot . '/mod/assignment/type/' . $assignment->assignmenttype . '/assignment.class.php');
call_user_func(array($class, 'restore_one_submission'), $info, $restore, $assignment, $submission);
call_user_func(array($class, 'restore_one_submission'), $sub_info, $restore, $assignment, $submission);
} else {
$status = false;
}

0 comments on commit 65eebc1

Please sign in to comment.
You can’t perform that action at this time.