mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-39281 portfolio: missing setType call
This commit is contained in:
parent
3a8c4380c0
commit
596791eb69
@ -321,6 +321,7 @@ class portfolio_instance_select extends moodleform {
|
||||
$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'));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user