From f6343982e17d9dc56612f522149a7e55f0167dcc Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Wed, 27 Mar 2013 10:12:46 +0800 Subject: [PATCH] MDL-38717 admin: missing setType on email --- user/editlib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/user/editlib.php b/user/editlib.php index afddd5c4e1b2d..a9405d1355f7c 100644 --- a/user/editlib.php +++ b/user/editlib.php @@ -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();