mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-40009 notes: corrected the form element names passed to setType
This commit is contained in:
parent
b6f8a93642
commit
35a391d3ab
@ -24,10 +24,10 @@ class note_edit_form extends moodleform {
|
||||
$this->add_action_buttons();
|
||||
|
||||
$mform->addElement('hidden', 'courseid');
|
||||
$mform->setType('course', PARAM_INT);
|
||||
$mform->setType('courseid', PARAM_INT);
|
||||
|
||||
$mform->addElement('hidden', 'userid');
|
||||
$mform->setType('user', PARAM_INT);
|
||||
$mform->setType('userid', PARAM_INT);
|
||||
|
||||
$mform->addElement('hidden', 'id');
|
||||
$mform->setType('id', PARAM_INT);
|
||||
|
Loading…
x
Reference in New Issue
Block a user