From 6bea33c6d8711a0ad3d8f159c4902aec8a800659 Mon Sep 17 00:00:00 2001 From: Michael Aherne Date: Tue, 26 Nov 2024 08:55:48 +0000 Subject: [PATCH] Fix #203. Use valid setting default. --- settings.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/settings.php b/settings.php index b704208..4b8ad5d 100644 --- a/settings.php +++ b/settings.php @@ -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',