Remove redundant tid field
This commit is contained in:
parent
428deb1d08
commit
4459df050e
1 changed files with 0 additions and 4 deletions
|
@ -63,10 +63,6 @@ class edit_form extends \moodleform {
|
||||||
$group[] = $mform->createElement('submit', 'submitbtn', get_string('savechanges'));
|
$group[] = $mform->createElement('submit', 'submitbtn', get_string('savechanges'));
|
||||||
$group[] = $mform->createElement('submit', 'previewbtn', get_string('savechangespreview', 'htmlcert'), array(), false);
|
$group[] = $mform->createElement('submit', 'previewbtn', get_string('savechangespreview', 'htmlcert'), array(), false);
|
||||||
$mform->addElement('group', 'submitbtngroup', '', $group, '', false);
|
$mform->addElement('group', 'submitbtngroup', '', $group, '', false);
|
||||||
|
|
||||||
$mform->addElement('hidden', 'tid');
|
|
||||||
$mform->setType('tid', PARAM_INT);
|
|
||||||
$mform->setDefault('tid', $this->tid);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue