Merge branch 'MDL-38717-master' of git://github.com/danpoltawski/moodle
[moodle.git] / user / editlib.php
index 43eede2..e42a643 100644 (file)
@@ -155,6 +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);
     }
 
     $choices = array();