From 118242be26288dac50b816a1a37436171237ab95 Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Tue, 4 Jun 2013 17:59:24 +0800 Subject: [PATCH] MDL-40009 notes: corrected the form element names passed to setType --- notes/edit_form.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notes/edit_form.php b/notes/edit_form.php index 979b432f99ba3..e66c4346cc27e 100644 --- a/notes/edit_form.php +++ b/notes/edit_form.php @@ -24,10 +24,10 @@ function definition() { $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);