Permalink
Browse files

MDL-41528 enrol/ldap course default settings when no course template …

…is selected
  • Loading branch information...
1 parent b69ec28 commit ee2d1451a60b9ad211a39f4841d4e5fe5174ae39 @nitzo nitzo committed Aug 31, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 enrol/ldap/lib.php
View
@@ -962,7 +962,7 @@ function create_course($course_ext, progress_trace $trace) {
$template->groupmodeforce = $courseconfig->groupmodeforce;
$template->visible = $courseconfig->visible;
$template->lang = $courseconfig->lang;
- $template->groupmodeforce = $courseconfig->groupmodeforce;
+ $template->enablecompletion = $courseconfig->enablecompletion;
}
$course = $template;

0 comments on commit ee2d145

Please sign in to comment.