mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 05:25:08 +02:00
MDL-26956 enrol form: add missing setType calls.
This commit is contained in:
parent
71638033eb
commit
0e0a980631
@ -147,6 +147,7 @@ class enrol_users_filter_form extends moodleform {
|
||||
|
||||
// Text search box.
|
||||
$mform->addElement('text', 'search', get_string('search'));
|
||||
$mform->setType('search', PARAM_RAW);
|
||||
|
||||
// Filter by enrolment plugin type.
|
||||
$mform->addElement('select', 'ifilter', get_string('enrolmentinstances', 'enrol'),
|
||||
@ -174,5 +175,6 @@ class enrol_users_filter_form extends moodleform {
|
||||
|
||||
// Add hidden fields required by page.
|
||||
$mform->addElement('hidden', 'id', $this->_customdata['id']);
|
||||
$mform->setType('id', PARAM_INT);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user