Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-36511 course: Save "completion starts on enrolment" disabled state

  • Loading branch information...
commit 7de454919b85a29b7147bd931fdb6c1bba1d20ff 1 parent 10ad21d
Aaron Barnes srynot4sale authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  course/edit_form.php
2  course/edit_form.php
@@ -257,7 +257,7 @@ function definition() {
257 257 array(0=>get_string('completiondisabled','completion'), 1=>get_string('completionenabled','completion')));
258 258 $mform->setDefault('enablecompletion', $courseconfig->enablecompletion);
259 259
260   - $mform->addElement('checkbox', 'completionstartonenrol', get_string('completionstartonenrol', 'completion'));
  260 + $mform->addElement('advcheckbox', 'completionstartonenrol', get_string('completionstartonenrol', 'completion'));
261 261 $mform->setDefault('completionstartonenrol', $courseconfig->completionstartonenrol);
262 262 $mform->disabledIf('completionstartonenrol', 'enablecompletion', 'eq', 0);
263 263 } else {

0 comments on commit 7de4549

Please sign in to comment.
Something went wrong with that request. Please try again.