From: mjollnir_ Date: Sat, 15 Aug 2009 07:58:37 +0000 (+0000) Subject: MDL-19142 assignment/restore small fix to pass $info to subtypes relative to current... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9e4f83bd8c3124a86ae1fe7718bfced175393437;p=moodle.git MDL-19142 assignment/restore small fix to pass $info to subtypes relative to current assignment rath er than the full array Merged from MOODLE_19_STABLE --- diff --git a/mod/assignment/restorelib.php b/mod/assignment/restorelib.php index 33d3346636..b02ed66cf4 100644 --- a/mod/assignment/restorelib.php +++ b/mod/assignment/restorelib.php @@ -209,7 +209,7 @@ $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; }