MDL-38717 admin: missing setType on email

This commit is contained in:
Dan Poltawski
2013-03-27 10:14:35 +08:00
parent 373a8e052c
commit f6343982e1
+1
View 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();