Skip to content

Commit

Permalink
Merge pull request #136 from dmitriim/issue135
Browse files Browse the repository at this point in the history
issue #135: do not display warning if 'Do nothing' is selected
  • Loading branch information
danmarsden authored Nov 27, 2023
2 parents ce56eb4 + dfef4c3 commit a5465e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/plugins/mod_certificate.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit a5465e3

Please sign in to comment.