mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 05:25:08 +02:00
Fix missing form element setType() issue in /badges/mybackpack.php
This commit is contained in:
parent
422f68fb86
commit
8d107e982d
@ -86,6 +86,7 @@ class edit_backpack_group_form extends moodleform {
|
||||
$mform->addElement('static', 'url', get_string('url'), 'http://backpack.openbadges.org');
|
||||
|
||||
$mform->addElement('text', 'email', get_string('email'), array('size' => '50'));
|
||||
$mform->setType('email', PARAM_EMAIL);
|
||||
$mform->setDefault('email', $data->email);
|
||||
$mform->freeze(array('email'));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user