Remove redundant tid field

This commit is contained in:
Kumi 2021-11-24 09:09:03 +01:00
parent 428deb1d08
commit 4459df050e

View file

@ -63,10 +63,6 @@ class edit_form extends \moodleform {
$group[] = $mform->createElement('submit', 'submitbtn', get_string('savechanges'));
$group[] = $mform->createElement('submit', 'previewbtn', get_string('savechangespreview', 'htmlcert'), array(), false);
$mform->addElement('group', 'submitbtngroup', '', $group, '', false);
$mform->addElement('hidden', 'tid');
$mform->setType('tid', PARAM_INT);
$mform->setDefault('tid', $this->tid);
}
/**