Permalink
Browse files

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

…is selected
  • Loading branch information...
1 parent d883550 commit b8648c74ed4a4bd909418b86fff8417bcdfb08b4 @nitzo nitzo committed Aug 31, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 enrol/ldap/lib.php
View
2 enrol/ldap/lib.php
@@ -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 b8648c7

Please sign in to comment.