diff --git a/application/modules/courses/models/ApprovalActionForkGradModel.php b/application/modules/courses/models/ApprovalActionForkGradModel.php index 16db9a73f2664dec7cf1af82d818f92ab7b7a6da..309c2c5b59cdf9bc0f768e51a884f3c709988eaf 100644 --- a/application/modules/courses/models/ApprovalActionForkGradModel.php +++ b/application/modules/courses/models/ApprovalActionForkGradModel.php @@ -131,6 +131,8 @@ class Courses_ApprovalActionForkGradModel extends Requests_ApprovalActionModel $newGeneration = clone $course; // create a new generation of the course from the input request to base the new request on. $gradCourse = clone $course; + $gradCourse->_data['course'] = NULL; + $gradCourse->_data['parent'] = NULL; // Grab the home suffix now in case we need to use it later (ie: xx in 4xx/8xx) $homeSuffix = substr($course->getCourseNumber(), -2);