Permalink
Browse files

MDL-38717 Admin: Change setType for email to PARAM_EMAIL

  • Loading branch information...
1 parent 1b393ce commit 5df15f25242ac92e67fcb6d82e7f81a2ff835e5d @damyon damyon committed Mar 27, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 user/editlib.php
View
@@ -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();

0 comments on commit 5df15f2

Please sign in to comment.