1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-25 10:26:17 +02:00

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
commit 5def031e6f

@ -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!