Merge branch 'MDL-40412' of git://github.com/merrill-oakland/moodle

This commit is contained in:
Eloy Lafuente (stronk7)
2013-07-15 22:07:47 +02:00
+1 -1
View File
@@ -820,7 +820,7 @@ abstract class moodleform_mod extends moodleform {
$mform = $this->_form;
$label = is_null($customlabel) ? get_string('moduleintro') : $customlabel;
$mform->addElement('editor', 'introeditor', $label, array('rows' => 3), array('maxfiles' => EDITOR_UNLIMITED_FILES,
$mform->addElement('editor', 'introeditor', $label, array('rows' => 10), array('maxfiles' => EDITOR_UNLIMITED_FILES,
'noclean' => true, 'context' => $this->context, 'collapsed' => true));
$mform->setType('introeditor', PARAM_RAW); // no XSS prevention here, users must be trusted
if ($required) {