diff --git a/classes/plugins/mod_certificate.php b/classes/plugins/mod_certificate.php index 64a19e4..39cffd0 100644 --- a/classes/plugins/mod_certificate.php +++ b/classes/plugins/mod_certificate.php @@ -76,7 +76,7 @@ public static function editingform(MoodleQuickForm $mform): void { $mform->disabledIf('certificate', 'enable'); $mform->disabledIf('archivecertificate', 'enable'); $mform->hideIf('archivecertificate', 'certificate', 'noteq', LOCAL_RECOMPLETION_DELETE); - $mform->hideIf('certificateverifywarn', 'certificate', 'noteq', LOCAL_RECOMPLETION_DELETE); + $mform->hideIf('certificateverifywarngroup', 'certificate', 'noteq', LOCAL_RECOMPLETION_DELETE); } /**