]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-18542:
authorthepurpleblob <thepurpleblob>
Thu, 19 Mar 2009 21:17:25 +0000 (21:17 +0000)
committerthepurpleblob <thepurpleblob>
Thu, 19 Mar 2009 21:17:25 +0000 (21:17 +0000)
Missed the format field for textarea.

Merged from STABLE_19

mod/data/field/textarea/field.class.php

index a2a11d6a7315ba2edcf36e784cdcfb8d7a5b86cc..dbd10c9f409e8dc6c3e55b4d92ed07daa25da9df 100755 (executable)
@@ -63,6 +63,12 @@ class data_field_textarea extends data_field_base {
         $str .= '</div>';
         return $str;
     }
+
+    function list_add_field(&$fields) {
+        $fields[] = $this->field->id;
+        $fields[] = $this->field->id.'_content1';
+        return true; 
+    }
     
     
     function display_search_field($value = '') {