Merge branch 'MDL-40009_m24' of https://github.com/markn86/moodle into MOODLE_24_STABLE

This commit is contained in:
Sam Hemelryk
2013-06-10 15:54:52 +12:00
+2 -2
View File
@@ -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);