Skip to content

Commit

Permalink
Fix #203. Use valid setting default.
Browse files Browse the repository at this point in the history
  • Loading branch information
micaherne committed Nov 26, 2024
1 parent 8d8fdbf commit 6bea33c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@

$settings->add(new admin_setting_configselect('local_recompletion/recompletionnotify',
new lang_string('recompletionnotify', 'local_recompletion'),
new lang_string('recompletionnotify_help', 'local_recompletion'), 'range', [
new lang_string('recompletionnotify_help', 'local_recompletion'),
local_recompletion_recompletion_form::RECOMPLETION_NOTIFY_DISABLED,
[
local_recompletion_recompletion_form::RECOMPLETION_NOTIFY_DISABLED => get_string(
'recompletiontype:disabled',
'local_recompletion',
Expand Down

0 comments on commit 6bea33c

Please sign in to comment.