Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-38717 Admin: Change setType for email to PARAM_EMAIL

  • Loading branch information...
commit 5df15f25242ac92e67fcb6d82e7f81a2ff835e5d 1 parent 1b393ce
@damyon damyon authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  user/editlib.php
View
2  user/editlib.php
@@ -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();
Please sign in to comment.
Something went wrong with that request. Please try again.