Skip to content

Commit

Permalink
MDL-38821 enrol_manual: Fixing setType missing calls
Browse files Browse the repository at this point in the history
  • Loading branch information
David Monllao committed Apr 2, 2013
1 parent 3de603a commit 361c4da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions enrol/manual/edit_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ function definition() {
$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')));

Expand Down

0 comments on commit 361c4da

Please sign in to comment.