mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 08:55:15 +02:00
MDL-38717 Admin: Change setType for email to PARAM_EMAIL
This commit is contained in:
parent
1b393ce91d
commit
5df15f2524
@ -155,7 +155,7 @@ function useredit_shared_definition(&$mform, $editoroptions = null, $filemanager
|
||||
} else {
|
||||
$mform->addElement('text', 'email', get_string('email'), 'maxlength="100" size="30"');
|
||||
$mform->addRule('email', $strrequired, 'required', null, 'client');
|
||||
$mform->setType('email', PARAM_NOTAGS);
|
||||
$mform->setType('email', PARAM_EMAIL);
|
||||
}
|
||||
|
||||
$choices = array();
|
||||
|
Loading…
x
Reference in New Issue
Block a user