Merge branch 'MDL-41528_master' of https://github.com/nitzo/moodle
authorSam Hemelryk <sam@moodle.com>
Tue, 10 Sep 2013 21:26:44 +0000 (09:26 +1200)
committerSam Hemelryk <sam@moodle.com>
Tue, 10 Sep 2013 21:26:44 +0000 (09:26 +1200)
enrol/ldap/lib.php

index 73eb118..f37e12a 100644 (file)
@@ -962,7 +962,7 @@ class enrol_ldap_plugin extends enrol_plugin {
             $template->groupmodeforce = $courseconfig->groupmodeforce;
             $template->visible        = $courseconfig->visible;
             $template->lang           = $courseconfig->lang;
-            $template->groupmodeforce = $courseconfig->groupmodeforce;
+            $template->enablecompletion = $courseconfig->enablecompletion;
         }
         $course = $template;