Merge branch 'MDL-32092' of git://github.com/rwijaya/moodle

This commit is contained in:
Dan Poltawski
2012-10-16 10:37:52 +08:00
@@ -3,9 +3,6 @@
class profile_field_textarea extends profile_field_base {
function edit_field_add($mform) {
$cols = $this->field->param1;
$rows = $this->field->param2;
/// Create the form field
$mform->addElement('editor', $this->inputname, format_string($this->field->name), null, null);
$mform->setType($this->inputname, PARAM_RAW); // we MUST clean this before display!