Skip to content
Snippets Groups Projects
Commit e3dcda6b authored by Nick Barry's avatar Nick Barry
Browse files

Fixed bug in course edit controller where it would not process course form...

Fixed bug in course edit controller where it would not process course form data for new request types
parent 3a7c350f
Branches
Tags
No related merge requests found
......@@ -42,7 +42,9 @@ class Courses_EditController extends Creq_Controller_Action
$request = $session->request;
$errors = array();
if (!in_array($request->getType(), array('RemoveCourse', 'AddACEToCourse', 'RemoveACEFromCourse', 'ChangeACE', 'RecertifyACE', 'RecertifyACEAndChangeCourse', 'ChangeACEAndChangeCourse')) && !$course->getRemoved()) {
if (!in_array($request->getType(), array('RemoveCourse', 'AddACEToCourse', 'RemoveACEFromCourse', 'ChangeACE', 'RecertifyACE')) && !$course->getRemoved()) {
// this is the course stuff, only add to array above for request types that are not processing course data
$homeCourseGroups = array();
foreach ($in->courseCodeGroups as $key => $courseCodeGroup) {
$courseCode = explode(':', $courseCodeGroup['crosslisting']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment