Skip to content

Commit

Permalink
Merge pull request #183 from aneno-m-e/copy-default
Browse files Browse the repository at this point in the history
Fix regression introduced in cdc985c
  • Loading branch information
danmarsden authored Jul 17, 2024
2 parents 2ec22d3 + b23445d commit d510c31
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 d510c31

Please sign in to comment.