Skip to content

Commit

Permalink
MBS-8941: Fix form element for backlink to make deactivation work (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-csg authored Mar 15, 2024
1 parent 5ac6e32 commit 8202636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function definition(): void {
$backlinkallowed = get_config('mod_learningmap', 'backlinkallowed');

if ($backlinkallowed) {
$mform->addElement('checkbox', 'backlink', get_string('showbacklink', 'learningmap'));
$mform->addElement('advcheckbox', 'backlink', get_string('showbacklink', 'learningmap'));
$mform->setType('backlink', PARAM_INT);
$mform->addHelpButton('backlink', 'showbacklink', 'learningmap');
} else {
Expand Down

0 comments on commit 8202636

Please sign in to comment.