Skip to content

Commit

Permalink
MDL-39281 portfolio: missing setType call
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Apr 22, 2013
1 parent 3a8c438 commit 596791e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/portfolio/forms.php
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ function definition() {
$mform =& $this->_form;
$mform->addElement('select', 'instance', get_string('selectplugin', 'portfolio'), $options);
$mform->addElement('hidden', 'id', $this->_customdata['id']);
$mform->setType('id', PARAM_INT);
$this->add_action_buttons(true, get_string('next'));
}
}

0 comments on commit 596791e

Please sign in to comment.