diff --git a/manage_templates.php b/manage_templates.php index 67d7b51..b9b47aa 100644 --- a/manage_templates.php +++ b/manage_templates.php @@ -110,6 +110,6 @@ if (isset($table)) { } else { echo html_writer::tag('div', get_string('notemplates', 'customcert'), array('class' => 'alert')); } -$url = new moodle_url('/mod/customcert/edit.php?action=add&contextid=' . $contextid); +$url = new moodle_url('/mod/customcert/edit.php?contextid=' . $contextid); echo $OUTPUT->single_button($url, get_string('createtemplate', 'customcert'), 'get'); echo $OUTPUT->footer();