Permalink
Browse files

Merge branch 'MDL-36511-24' of git://github.com/srynot4sale/moodle in…

…to MOODLE_24_STABLE
  • Loading branch information...
Sam Hemelryk
Sam Hemelryk committed Jan 13, 2013
2 parents 8425248 + e014ed7 commit 7977c782e8cfadb1e71793b3b48ef567f9aaa28e
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/edit_form.php
View
@@ -252,7 +252,7 @@ function definition() {
array(0=>get_string('completiondisabled','completion'), 1=>get_string('completionenabled','completion')));
$mform->setDefault('enablecompletion', $courseconfig->enablecompletion);
- $mform->addElement('checkbox', 'completionstartonenrol', get_string('completionstartonenrol', 'completion'));
+ $mform->addElement('advcheckbox', 'completionstartonenrol', get_string('completionstartonenrol', 'completion'));
$mform->setDefault('completionstartonenrol', $courseconfig->completionstartonenrol);
$mform->disabledIf('completionstartonenrol', 'enablecompletion', 'eq', 0);
} else {

0 comments on commit 7977c78

Please sign in to comment.