diff --git a/edit.php b/edit.php index 1941143..857e770 100644 --- a/edit.php +++ b/edit.php @@ -81,7 +81,7 @@ if ($context->contextlevel == CONTEXT_SYSTEM) { if ($tid) { $mform = new \mod_htmlcert\edit_form($pageurl, array('tid' => $tid)); // Set the name for the form. - $mform->set_data(array('name' => $template->get_name(), 'html' => $template->get_html())); + $mform->set_data(array('name' => $template->get_name(), 'html' => '')); } else { $mform = new \mod_htmlcert\edit_form($pageurl); }