Skip to content

Commit

Permalink
MDL-38717 admin: missing setType on email
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Mar 27, 2013
1 parent 373a8e0 commit f634398
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions user/editlib.php
Expand Up @@ -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();
Expand Down

0 comments on commit f634398

Please sign in to comment.