Merge branch 'MDL-62939-master-cleanhtmluserdesc' of git://github.com/mudrd8mz/moodle
This commit is contained in:
+1
-1
@@ -340,7 +340,7 @@ function useredit_shared_definition(&$mform, $editoroptions, $filemanageroptions
|
||||
}
|
||||
|
||||
$mform->addElement('editor', 'description_editor', get_string('userdescription'), null, $editoroptions);
|
||||
$mform->setType('description_editor', PARAM_CLEANHTML);
|
||||
$mform->setType('description_editor', PARAM_RAW);
|
||||
$mform->addHelpButton('description_editor', 'userdescription');
|
||||
|
||||
if (empty($USER->newadminuser)) {
|
||||
|
||||
Reference in New Issue
Block a user