Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-38717 admin: missing setType on email

  • Loading branch information...
commit f6343982e17d9dc56612f522149a7e55f0167dcc 1 parent 373a8e0
Dan Poltawski danpoltawski authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  user/editlib.php
1  user/editlib.php
@@ -155,6 +155,7 @@ function useredit_shared_definition(&$mform, $editoroptions = null, $filemanager
155 155 } else {
156 156 $mform->addElement('text', 'email', get_string('email'), 'maxlength="100" size="30"');
157 157 $mform->addRule('email', $strrequired, 'required', null, 'client');
  158 + $mform->setType('email', PARAM_NOTAGS);
158 159 }
159 160
160 161 $choices = array();

0 comments on commit f634398

Please sign in to comment.
Something went wrong with that request. Please try again.