Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
373a8e0
)
MDL-38717 admin: missing setType on email
author
Dan Poltawski
<dan@moodle.com>
Wed, 27 Mar 2013 02:12:46 +0000
(10:12 +0800)
committer
Dan Poltawski
<dan@moodle.com>
Wed, 27 Mar 2013 02:14:35 +0000
(10:14 +0800)
user/editlib.php
patch
|
blob
|
blame
|
history
diff --git
a/user/editlib.php
b/user/editlib.php
index
afddd5c
..
a9405d1
100644
(file)
--- 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();