Permalink
Browse files

MDL-40009 notes: corrected the form element names passed to setType

  • Loading branch information...
1 parent ae61eea commit 118242be26288dac50b816a1a37436171237ab95 @markn86 markn86 committed Jun 4, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 notes/edit_form.php
View
4 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);

0 comments on commit 118242b

Please sign in to comment.