mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-38821 enrol_manual: Fixing setType missing calls
This commit is contained in:
parent
3de603a175
commit
361c4da2fb
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ class enrol_manual_edit_form extends moodleform {
|
|||
$mform->disabledIf('expirythreshold', 'expirynotify', 'eq', 0);
|
||||
|
||||
$mform->addElement('hidden', 'courseid');
|
||||
$mform->setType('courseid', PARAM_INT);
|
||||
|
||||
$this->add_action_buttons(true, ($instance->id ? null : get_string('addinstance', 'enrol')));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue