Skip to content

Commit

Permalink
Merge pull request #184 from aneno-m-e/copy-default-on-course-creation
Browse files Browse the repository at this point in the history
Fix regression introduced in 0ff76ed
  • Loading branch information
danmarsden authored Jul 17, 2024
2 parents 447df91 + 6aaf753 commit 2a0b449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/recompletion_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function definition() {
self::RECOMPLETION_TYPE_ONDEMAND => get_string('recompletiontype:ondemand', 'local_recompletion'),
self::RECOMPLETION_TYPE_SCHEDULE => get_string('recompletiontype:schedule', 'local_recompletion'),
]);
$mform->setDefault('recompletiontype', RECOMPLETION_TYPE_DISABLED);
$mform->setDefault('recompletiontype', self::RECOMPLETION_TYPE_DISABLED);
$mform->addHelpButton('recompletiontype', 'recompletiontype', 'local_recompletion');

$mform->addElement('checkbox', 'recompletionemailenable', get_string('recompletionemailenable', 'local_recompletion'));
Expand Down

0 comments on commit 2a0b449

Please sign in to comment.