Skip to content
Snippets Groups Projects
Commit 4ac8b15b authored by Tim Steiner's avatar Tim Steiner
Browse files

Added effectiveCourse default to CourseAdmin editor.

parent 92458ce9
No related branches found
No related tags found
No related merge requests found
......@@ -185,7 +185,10 @@ class CourseAdminController extends Nmc_Controller_Action
}
}
$course->effectiveSemester = 20081;
if (!$course->effectiveSemester) {
$course->effectiveSemester = 20081;
}
$course->save();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment