]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-18542:
authorthepurpleblob <thepurpleblob>
Fri, 20 Mar 2009 11:36:17 +0000 (11:36 +0000)
committerthepurpleblob <thepurpleblob>
Fri, 20 Mar 2009 11:36:17 +0000 (11:36 +0000)
Aaargh... yet another one missed. Hopefully that's it.

Merged from STABLE_19

mod/data/field/file/field.class.php

index bb58c0c79914255b67e9af5ad2d26147cc72177f..8711872d0a3c00732e402bb4c14430163cd61777 100755 (executable)
@@ -67,6 +67,12 @@ class data_field_file extends data_field_base {
         return $str;
     }
 
+    function list_add_field(&$fields) {
+        $fields[] = $this->field->id.'_filename';
+        $fields[] = $this->field->id.'_file';
+        return true;
+    } 
+
     function display_search_field($value = '') {
         return '<input type="text" size="16" name="f_'.$this->field->id.'" value="'.$value.'" />';
     }