From 9e4f83bd8c3124a86ae1fe7718bfced175393437 Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Sat, 15 Aug 2009 07:58:37 +0000 Subject: [PATCH] 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 --- mod/assignment/restorelib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5